AMPscript
LocalDateToSystemDate
Now
Retrieve
SystemDateToLocalDate
Validate Your Server-Side JavaScript using WSProxy
Retrieves an array of time zones based on the specified criteria
Retrieve(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Criteria to search for the list |
This sample code retrieves an array of time zones based on the specified filter criteria. If you include no filter, the function will return an array of all time zones.
1var timezones = DateTime.TimeZone.Retrieve({Property:"ID", SimpleOperator:"equals", Value:1});