ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
System.GetDate
OverviewExamples
string System.GetDate ( number DateType )
De s cr ip t ion
Gets the current date in a variety of formats.
P arame t er s
DateType
(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) |
Re t u r n s
(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.