Converts a system datetime string or object to the local time of the current Marketing Cloud Engagement user.

The SystemDateToLocalDate() function has one parameter:

  • systemTime (string): Required. The system time value that you want to convert to local time.

To use this function, pass it your current system time.

The system returns the local time based on the value contained in the @currentSystemTime variable.