[ Main Menu ] [ Extension Tools Menu ] [ Basic Edition Menu ]

<iDATE> Tag


<iDATE [FMT="<format string>"] (%x)
[ADJUST="<+/-days>"](0)
[DATE="<mm/dd/yyyy>"](current date)
>
This tag resolves to the current date at the server after the adjustment, if any. The date is formatted according to the C strftime format specifications. Refer to the appendix entitled: ANSI C printf & strftime Escape Characters for more details on compatible formats.
UsageThis can be used to display the current date directly on the page. It can also be used to insert dates into a database. The ADJUST directive can be specified to return a date which is plus or minus the number of days from the current date. The DATE directive can be used to specify a date and return it in a specified format.
ResolutionCurrent date at the server (or client) as specified after the adjustment (if any).
Comments This is limited to 128 character output time string. If you require additional characters, enter two iDATE tags and separate the output. Default is the %x format (MM/DD/YY)

iDATE example
Example Source Code
Top