dt_widget_datetime (public, deprecated)

 dt_widget_datetime [ -show_date show_date ] \
    [ -date_time_sep date_time_sep ] [ -use_am_pm use_am_pm ] \
    [ -default default ] name [ granularity ]

Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Switches:
-show_date (optional, defaults to "1")
-date_time_sep (optional, defaults to " ")
-use_am_pm (optional, defaults to "0")
-default (optional, defaults to "none")
Parameters:
name (required)
granularity (optional, defaults to "days")
Returns:
an HTML form fragment for collecting date-time information with names "$name.year", "$name.month", "$name.day", "$name.hours", "$name.minutes", "$name.seconds", and "$name.ampm". These will be numeric ("ampm" is 0 for am, 1 for pm) Default specifies what should be set as the current time in the form. Valid defaults are "none", "now", or any valid date string that can be converted with clock scan. Granularity can be "months" "days" "hours" "halves" "quarters" "fives" "minutes" or "seconds". Use -show_date 0 for a time entry widget (no dates). All HTML widgets will be output *unless* show_date is 0; they will be hidden if not needed to satisfy the current granularity level. Values default to 1 for MM/DD and 0 for HH/MI/SS/AM if not found in the input string or if below the granularity threshold. DEPRECATED: modern HTML5 feature make this widget less relevant. It is also cumbersome to style and localize.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) dt_ansi_to_list dt_ansi_to_list (public) dt_export_value dt_export_value (private) dt_precision dt_precision (private) dt_round_to_precision dt_round_to_precision (private) dt_widget_datetime dt_widget_datetime dt_widget_datetime->ad_log_deprecated dt_widget_datetime->dt_ansi_to_list dt_widget_datetime->dt_export_value dt_widget_datetime->dt_precision dt_widget_datetime->dt_round_to_precision

Testcases:
No testcase defined.
[ show source ]
Show another procedure: