ISUTCDATE
Syntax
ISUTCDATE (date)
Description
Determines whether the kind property on date is set to UTC. The kind property indicates whether a DateTime is local time, UTC time or unspecified where:
- 0=unspecified
- 1=UTC
- 2=local
Arguments
date | A date and time as a DateTime or String |
Returns
Returns True if the kind property on date is set to 1, which indicates UTC; otherwise returns False.
Remarks
If the kind property is set to anything other than 0, 1, or 2, a record error is returned.
Example
ISUTCDATE (Account.CreatedDate)
Returns: True if the kind property is set to 1, indicating that it is UTC.