Date & Time Variables
The special field named “timestamp” will be converted into the exact time that the visitor submits your form. You specify the format, using one or more of the following variables.
| !date | 26 October 2009 | !time !miltime |
2:01 PM 14:01 |
| !day !DD |
26 26 * |
!hour !hh |
2 02 * |
| !month !MM !mon |
October 10 * Oct |
!minute !mm |
01 01 * |
| !year or !YYYY !YY |
2009 09 * |
!ss | 08 * |
| !weekday !shortday |
Monday Mon |
!ampm | PM |
(* Variables listed with an asterisk (*) are zero-padded – e.g., 02 instead of 2.)
So, for example, the following code:
<input type="hidden" name="timestamp" value="!time, !date">
produces the following in the output, wherever the timestamp field is included:
2:01 PM , 26 October 2009
