Date/Time Variables
These variables are only supported in rename actions for agents. You can precede any of the date/time variables with the following symbols:
Preceding a variable with a dot (.) results in replacing the variable with the current value. For example, {.dd} results in the current day, and {.hh} results in the current hour.
Preceding a variable with an underscore (_) results in replacing the variable with the file’s ending transfer time. For example, if a file was downloaded on Monday, and if the event triggered a “file rename” action with a value of
Report_{EEE} provided for the new file name,
ActiveTransfer Server would rename the downloaded file to Report_Mon.
Variable | Description |
{MM} | Month (for example, 06 to represent June). |
{dd} | Day (for example, 05 to represent the fifth day of the month). |
{yy} or {yyyy} | Year, represented in two digits (for example, 13 to represent 2013) or four digits (for example, 2013). |
{HH} | Hours, using the 24-hour time format (for example, 14 to represent the hour of 2 o’clock PM). |
{hh} | Hours, using the 12-hour clock format (for example, 02 to represent the hour of 2 o’clock PM). |
{mm} | Minutes. |
{aa} | AM or PM. |
{ss} | Seconds. |
{S} | Milliseconds. |
{EEE} | Weekday abbreviation (for example, Mon to represent Monday). |