Developer Function: Server Script: utilities.MaxTime
Overview¶
Returns the maximum date and time in local time in UTC in the "Server Script".
Syntax¶
Parameters¶
No parameters.
Return Value¶
Returns the maximum date and time in local time (the date and time specified in MaxTime in "Set Parameter: General.json") in UTC. If MaxTime is "2100/1/1", "2099/12/31 15:00:00" is returned.
Usage Example¶
In the following example, the minimum date and time is entered into Date A. In the server script, the UTC date and time "2099/12/31 15:00:00" is assigned, but after the server script ends, the date and time converted to local time "2100/01/01 00:00:00" is set for Date A.
JavaScript¶
Notes¶
This is a method used in "Server Script". It cannot be used in "Script".
Supported Versions¶
| Supported versions | Body |
|---|---|
| 1.4.15.0 and later | Added function |