SystemDateToLocalDate
Overview
Converts the passed system date time string or value to the local time of the account or userSyntax
SystemDateToLocalDate(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | datetime | Required | Local date-time value to convert |
Example
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.
var timezones = DateTime.TimeZone.Retrieve({Property:"ID", SimpleOperator:"equals", Value:1});