<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Obtain the current time on the client PC (the PC on which the browser is running).
syntax
GetClientTime()
Return Value
Type:
time
The current time.
Explanation
Gets the current time on the client PC (the PC on which the browser is running). This works the same as #NOW#.
Example
The following have equivalent results:
var a = ::GetClientTime(); var a = #NOW#;
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