StrFormat,DATE

Syntax

StrFormat,Date,<%var%>,<yyyy-mmm-dd hh:nn am/pm> 

This option is used to retrieve the current hour and date and output it to a variable using the format you prefer.

The last parameter will define the way these values will be written to your variable. You can omit values that aren't needed and even add custom text inside.

Example:

In this example %myVar% will output the current year, month and day formatted as specified (eg. 2007-jun-07)

StrFormat,date,%myVar%,yyyy-mmm-dd