OverviewExamples
Gets the current date in a variety of formats.
(number) Return the date in the format:
CONSTANT |
VALUE |
DESCRIPTION |
DATE_FMT_US |
0 |
North American (MM/DD/YYYY) |
DATE_FMT_EUROPE |
1 |
European (DD/MM/YYYY) |
DATE_FMT_ISO |
2 |
ISO Date (YYYY-MM-DD) |
DATE_FMT_JULIAN |
3 |
Julian Date (an integer value representing the number of days since midnight on January 1, 4713 B.C.) |
DATE_FMT_MONTH |
4 |
Month (MM) |
DATE_FMT_DAY |
5 |
Day (DD) |
DATE_FMT_YEAR |
6 |
Year (YYYY) |
DATE_FMT_DAYOFWEEK |
7 |
Day of the week (1-7) |
(string) The date in the format specified by DateType. If an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions