The current time in local or UTC time zones.

Time = SRP_Time("Now", UTC = 0)

Returns

A time in OI internal format.

Parameters

ParameterDescription
UTC1 to get the current coordinate universal time (UTC), 0 to get the current local time. (OPTIONAL)

Remarks

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.

Examples

// Get the current local time
Time = SRP_Time("Now")

// Get the current GMT time
Time = SRP_Time("Now", 1)
  • No labels