NAnt SDK Documentation - v0.92 |
|
DateTimeFunctions.GetDayOfYear Method
Gets the day of the year represented by the specified date.
[Visual Basic]
<Function(Name:="get-day-of-year")>
Public Shared Function GetDayOfYear( _
ByVal
date As
Date _
) As
Integer
[C#]
[Function(Name="get-day-of-year")]
public static
int GetDayOfYear(
DateTime date);
Parameters
-
date
- The date of which to get the day of the year.
Return Value
The day of the year, between 1 and 366.
See Also
DateTimeFunctions Class | NAnt.Core.Functions Namespace