LocalDateToSystemDate

Converts a local datetime string to the system time.

The LocalDateToSystemDate() function has one parameter:

  • timeToConvert (string): Required. The time string that you want to convert.

This example returns the local time based on the value contained in the @currentSystemTime variable, then converts it back to system time.