NAnt SDK Documentation - v0.85-nightly-2005-11-09 |
|
DateTimeFunctions.GetHour Method
[This is preliminary documentation and subject to change.]
Gets the hour component of the specified date.
[Visual Basic]
<Function(Name:="get-hour")>
Public Shared Function GetHour( _
ByVal
date As
Date _
) As
Integer
[C#]
[Function(Name="get-hour")]
public static
int GetHour(
DateTime date);
Parameters
-
date
- The date of which to get the hour component.
Return Value
The hour, between 0 and 23.
Remarks
Missing <remarks> documentation for M:NAnt.Core.Functions.DateTimeFunctions.GetHour(System.DateTime)
See Also
DateTimeFunctions Class | NAnt.Core.Functions Namespace