Home
The Toolkit for Online Communities
15939 Community Members, 0 members online, 2250 visitors today
Log In Register

template::widget::date

OpenACS Home : ACS API Browser : template::widget::date

template::widget::date (public)

template::widget::date element_reference tag_attributes
Defined in packages/acs-templating/tcl/date-procs.tcl

Create a date entry widget according to a format string The format string should contain the following fields, separated by / \ - : . or whitespace:

stringmeaning
YYYY4-digit year
YY2-digit year
MM2-digit month
MONmonth name, short (i.e. "Jan")
MONTHmonth name, long (i.e. "January")
DDday of month
HH1212-hour hour
HH2424-hour hour
MIminutes
SSseconds
AMam/pm flag
Any format field may be followed by "t", in which case a text widget will be used to represent the field. the array in range_ref determines interval ranges; the keys are the date fields and the values are in form {start stop interval}

Parameters:
element_reference
tag_attributes
[ show source ]
Show another procedure: