date

Date

Stores the current date and/or time into a variable

Attributes:

var: the name of the variable
format: the Microsoft date format string (click here)

Example1:

<date var="DateTime" format="MM/dd/yyyy hh:mm:ss" />
--
    DateStamp = 04/07/2011 14:33:02
 

Example2:

<date var="Date" format="MM-dd-yy" />
--
    Date = 04-07-11