The current time in local or UTC time zones.
Time = SRP_Time("Now", UTC = 0) |
A time in OI internal format.
Parameter | Description |
---|---|
UTC | 1 to get the current coordinate universal time (UTC), 0 to get the current local time. (OPTIONAL) |
The "Now" service gets the current time. If UTC is omitted or set to 0, then the time is in the user's current timezone. If UTC is set to 1, the time is in Universal Coordinate Time (UTC), which is in the GMT time zone.
// Get the current local time Time = SRP_Time("Now") // Get the current GMT time Time = SRP_Time("Now", 1) |