dtformat

Syntax:

Value String  dtformat(DateTime dt1, Identifier mode)

Description:

Formats dt1 according to mode specified.

Options:

Identifier mode:

Examples:

($a1:$a4) = format("Jun 28, 2008 3:47:31 AM", $b)
Before:
AB C
1fulldate
2full
3date
4time
5
After:
AB C
1Saturday, June 28, 2008fulldate
2Saturday, June 28, 2008 3:47:31 AMfull
36/28/2008date
43:47:31 AMtime
5
($a1) = dtformat(dtnow(), time)