Specifies whether the date and time functions should be formatted in accordance with the user's system preferences, or in the standard format used in the United States.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios Introduced: 1.1 Security:
# Syntax
set the useSystemDate to {true | false}
# Examples
set the useSystemDate to true
# Description
Use the useSystemDate property to correctly format dates and times that will be viewed by the user (for example, dates and times that are displayed in a field).
Setting the useSystemDate property to true does the same thing as using the system keyword with the date or time functions. If the useSystemDate is set to true, the date and time functions return the same value as the system date and the system time, respectively. If the useSystemDate is set to false, the date and time functions return the same value as the english date and the english time, respectively.
The system format is set by the Date & Time control panel (on Mac OS systems), the Date control panel (on Windows), or the LANG environment variable (on Unix).
Since the useSystemDate is a local property, its value is reset to false when the current handler finishes execute. It retains its value only for the current handler, and setting it in one handler does not affect its value in other handlers it calls.
# Tags
math,
# See