date | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the current date. | ||||||
Introduced | 1.0 | ||||||
Changes | The ability to use the date format preferred by the user was introduced in version 1.1. In previous versions, the date function, along with the time function, consistently used the standard U.S. format, even if the operating system's settings specified another language or date format. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: long, english, short, system, abbreviated Property: centuryCutoff Command: convert Function: dateFormat, milliseconds, format, ticks Control Structure: function Glossary: property, return, format | ||||||
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 | math |