NAnt SDK Documentation - v0.92 |

# DateTimeFunctions.GetSecond Method

Gets the seconds component of the specified date.

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

#### Parameters

date
  The date of which to get the seconds component.

#### Return Value

The seconds, between 0 and 59.

#### See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace