NAnt SDK Documentation - v0.92

DateTimeFunctions.GetMillisecond Method 

Gets the milliseconds component of the specified date.

[Visual Basic]
<Function(Name:="get-millisecond")>
Public Shared Function GetMillisecond( _
   ByVal date As Date _
) As Integer
[C#]
[Function(Name="get-millisecond")]
public static int GetMillisecond(
   DateTime date
);

Parameters

date
The date of which to get the milliseconds component.

Return Value

The millisecond, between 0 and 999.

See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace