dt_ansi_to_list (public)

 dt_ansi_to_list [ ansi_date ]

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

Parses the given ansi_date string into a list of year, month, day, hour, minute, and second. Works for any date than can be parsed by clock scan.

ansi_date (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_dt_ansi_to_list dt_ansi_to_list (test acs-datetime) dt_ansi_to_list dt_ansi_to_list test_dt_ansi_to_list->dt_ansi_to_list dt_systime dt_systime (public) dt_ansi_to_list->dt_systime util::trim_leading_zeros util::trim_leading_zeros (public) dt_ansi_to_list->util::trim_leading_zeros dt_ansi_to_julian_single_arg dt_ansi_to_julian_single_arg (public) dt_ansi_to_julian_single_arg->dt_ansi_to_list dt_get_info dt_get_info (public) dt_get_info->dt_ansi_to_list dt_widget_datetime dt_widget_datetime (public, deprecated) dt_widget_datetime->dt_ansi_to_list dt_widget_month dt_widget_month (public, deprecated) dt_widget_month->dt_ansi_to_list packages/calendar/www/mini-calendar.tcl packages/calendar/ www/mini-calendar.tcl packages/calendar/www/mini-calendar.tcl->dt_ansi_to_list

Source code:
    if {$ansi_date eq ""} {
        set ansi_date [dt_systime]

    foreach item [split [clock format [clock scan $ansi_date] -format "%Y %m %d %H %M %S"" "] {
        lappend date_info [util::trim_leading_zeros $item]

    return $date_info
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:

[ hide source ] | [ make this the default ]
Show another procedure: