Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The "FromUTC" service converts the given time–assumed to be in the UTC time zone–into the local time zone. It handles edge cases, so if the UTC time is 6am and the local time zone is Pacific Standard Time, it will return 10pm. This service is more useful for converting pre-existing dates.

Examples

Code Block
languagebp
// Parse a UTC time, perhaps received via the web, and convert it to local time
Time = SRP_Time("Parse", "14:12:05 GMT", "hh:mm:ss")
LocalTime = SRP_Time("FromUTC", Time)

...