<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Calculates the day of the year from a time.
syntax
GetDayOfYear(
time
)
Parameters
Type:
time.
Return Value
Number
The day of the month (1 to 366), or -1 on failure.
Explanation
This function calculates the day of the year from a given time (year, month, and date).
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
GetTickTime
GetTickTimeSpan
GetClientTime
IsCurrentTime
GetRelativeTime
GetYear
GetMonth
GetDay
GetHour
GetMinute
GetSecond
GetMilliseconds
GetDayOfYear
GetDayOfWeek