Gets the day of the year.
Syntax
Smartsite SXML | Copy Code |
---|---|
integer datetime.getdayofyear() integer datetime.getdayofyear(datetime dt) |
Parameters
Name | Data Type | Description |
---|---|---|
dt | DateTime | A DateTime. |
Return Value
Data Type | Description |
---|---|
Integer | The day of the year, expressed as a value between 1 and 366. |