%DATEPICKER{}%
variable is handled by the DatePickerPlugin.
%DATEPICKER{ name="..." value="..." }%
Parameter![]() | Description | Default | Example |
---|---|---|---|
Additional HTML input field attributes, such as alt , disabled , maxlength , onblur , onchange , onfocus , readonly , style , tabindex , title | |||
class | CSS class of input field. | "twikiInputField" | class="dateField" |
format | Format of resulting date value. â\x{fffd}¢ %a - abbreviated weekday nameâ\x{fffd}¢ %A - full weekday nameâ\x{fffd}¢ %b - abbreviated month nameâ\x{fffd}¢ %B - full month nameâ\x{fffd}¢ %C - century numberâ\x{fffd}¢ %d - the day of the month (00 ... 31)â\x{fffd}¢ %e - the day of the month (0 ... 31)â\x{fffd}¢ %H - hour (00 ... 23)â\x{fffd}¢ %I - hour (01 ... 12)â\x{fffd}¢ %j - day of the year ( 000 ... 366)â\x{fffd}¢ %k - hour (0 ... 23)â\x{fffd}¢ %l - hour (1 ... 12)â\x{fffd}¢ %m - month (01 ... 12)â\x{fffd}¢ %M - minute (00 ... 59)â\x{fffd}¢ %n - a newline characterâ\x{fffd}¢ %p - "PM" or "AM"â\x{fffd}¢ %P - "pm" or "am"â\x{fffd}¢ %S - second (00 ... 59)â\x{fffd}¢ %s - number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC)â\x{fffd}¢ %t - a tab characterâ\x{fffd}¢ %U , %W , %V - the week number. The week 01 is the week that has the Thursday in the current year, which is equivalent to the week that contains the fourth day of January. Weeks start on Monday.â\x{fffd}¢ %u - the day of the week (1 ... 7, 1 = MON)â\x{fffd}¢ %w - the day of the week (0 ... 6, 0 = SUN)â\x{fffd}¢ %y - year without the century (00 ... 99)â\x{fffd}¢ %Y - year including the century (ex. 2012)â\x{fffd}¢ %% - a literal % character | "%Y-%m-%d" | format="%e %b %Y" |
id | ID of input field, optional. | "id_" + name | id="idStart" |
name | Name of input field. φ: No output is shown if the name parameter is missing, but the CSS and Javascript are loaded. | (requiredφ) | name="Start" |
size | Size of input field, in number of characters. | (calculated as needed) | size="12" |
value | Initial date value. | "" (today) | value="2012-12-31" |
<form action="...">
%DATEPICKER{ name="Start_Date" }%
<form>