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.
- Parameters:
- ansi_date (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- 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_infoXQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-datetime/tcl/acs-datetime-procs.xql