<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Get the hour from the date and time.
syntax
GetHour(
time
[,timeZone]
)
Parameters
Type:
Date and time.
timeZone
character
Time zone.
Return Value
Number
If it fails, it returns -1.
Explanation
Get the hour from the time.
For more information about time zones, see "Date and time formats".
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