Gets the system date and time in the GMT time zone.

Syntax

UtcTime = SRP_Get_SystemTime()

Returns

The current date and time in the GMT time zone in OI internal format.

Remarks

The SRP_Get_SystemTime method gets the system time in the GMT timezone for those times you want to avoid local time zone dependencies.

Examples

// Get the time in UTC time zone and OConv it for readability
UtcTime = SRP_Get_SystemTime()
UtcTime = OConv(UtcTime, "DT")
  • No labels