TodayISO Element

The TodayISO element renders the current date and time in ISO format: YYYY-MM-DDTHH:MM:SSZ (for example, 2001-01-21T22:54:47Z).

Syntax

<TodayISO>
</TodayISO>
Parent Elements
Case, SetVar

Remarks

Note that the date and time returned are relative to the servers local time zone.

Example

The following example evaluates the current date in ISO format and returns "April Fools" if the date is April 1, 2001.

<Switch>
  <Expr><TodayISO/></Expr>
  <Case Value="4/1/01">April Fools</Case>
</Switch>

See Also

Today