# datetime::get-day-of-year

[This is preliminary documentation and subject to change.]

Gets the day of the year represented by the specified date.

### Usage

`int datetime::get-day-of-year(date)`

### Parameters

Name | Type | Description
--- | --- | ---
date | datetime | The date of which to get the day of the year.

### Return Value

The day of the year, between 1 and 366.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)