LocalDateToSystemDate

This function converts the specified date/time into system time. The system date and time is based on the data center location of your Marketing Cloud account.

Arguments

LocalDateToSystemDate(1)

Ordinal Type Required Description
1 String True The date to convert

Example

%%[

var @localDate, @systemDate
set @localDate = Now(1)
set @systemDate  = LocalDateToSystemDate(@localDate)

]%%
localDate: %%=v(@localDate)=%%
<br>systemDate: %%=v(@systemDate)=%%

Output

localDate: 10/15/2017 1:42:35 PM
systemDate: 10/15/2017 3:42:35 PM