There is one main procedure to generate date and time widgets:
dt_widget_datetime [-show_date 0 -use_am_pm 0 -default none] name granularity
The parameter granularity can be set to seconds,
minutes, five minute intervals, quarter-hour intervals, half-hour intervals, hours, days, or months. The other
parameters are self-explanatory.
The following table shows examples of the various date and time widgets:
dt_widget_datetime can be
specified using any format that can be parsed by clock scan.
name represents
the form variable that would be set by the widget. The script on the
processing end should anticipate the parameters name.year,
name.month, etc.