date

returns the current date.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

the [{ long | abbreviated | short }] [{ english | system }] date

# Examples

answer the date

put the internet date into dateHeader

put the long system date into field "Today's Date"

# Description

Use the date function to display the current date to the user, or to store the date for later use.

The format of the system date forms is set by the Date & Time control panel (on Mac OS systems), the Date control panel (on Windows systems), or the LANG environment variable (on Unix systems).

# Tags

# See

- **keyword:** long, english, short, system, abbreviated - **property:** centuryCutoff - **command:** convert - **function:** dateFormat, milliseconds, format, ticks - **control structure:** function - **glossary:** property, return, format