Retrieving String Date and Time Information
- Last UpdatedNov 07, 2016
- 1 minute read
In a script, you can retrieve date and time information as strings. This is useful for showing date or time on the screen or when calculations on whole time/date strings are required.
You can use the following system tags and the script function.
|
Use |
To |
|---|---|
|
$DateString |
Return the system date in short format. |
|
$TimeString |
Return the system time. |
|
UTCDateTime |
Return the UTC time and/or date and the time zone of the local computer. |