@GETDATE[[date]] : Display a calendar dialog and returns the selected date in yyyy-mm-dd format.

 

You can optionally pass a default date (also in yyyy-mm-dd format). If you do not specify a default date, @GETDATE will use the current date.

 

Example:

 

echo %@getdate[]

 

@getdate