date

Date Format

Type: function

Returns: string

Description: The date and/or time specified in either Unix or Calendar time is formatted as specified in the Format field and returned. For a complete list of the date formats go to dateFormats.shtml.

Usage:
 date ( <format> [ , <unix time> ] [ , <calendar time> ] )

Example 1:

Displayed Text:
Christmas in 1985 was on a Wednesday.

Action Tag:
Christmas in 1985 was on a {% date ( 'l' , , 19851225 ) }.

Example 2:

Displayed Text:
There are 86,400 seconds in a day so one day following the epoch was Thu Jan 1 1970 2:00:00 PM HST.

Action Tag:
There are 86,400 seconds in a day so one day following the epoch was {% date ( 'D M j Y g:i:s A T' , 86400 ) }.

 

 

| Home |


November 20, 2003

System resources to generate this page:
1: READ FILE A: /home/action/public_html/_global.shtml (0s)
19: READ FILE A: /home/action/adocs/docs/functions.shtml (0s)
6: READ FILE FAILED: /home/action/public_html/docs/functions.txt (0s)
71: SQL SELECT (FNC): DBI:mysql:action_database:localhost (0s)
75: READ FILE A: /home/action/adocs/docs/inc_docHeader.html (0s)
110: READ FILE A: /home/action/adocs/docs/inc_trailer.html (0s)