dt_ansi_to_julian_single_arg (public)
dt_ansi_to_julian_single_arg ansi [ era ]
Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl
Splits the ANSI date into year, month and day, and calls dt_ansi_to_julian to transform it to Julian.
- Parameters:
- ansi (required)
- era (optional)
- Returns:
- the ANSI date as Julian
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- dt_ansi_to_julian_single_arg
Source code: set date_list [dt_ansi_to_list $ansi] set year [util::trim_leading_zeros [lindex $date_list 0]] set month [util::trim_leading_zeros [lindex $date_list 1]] set day [util::trim_leading_zeros [lindex $date_list 2]] return [dt_ansi_to_julian $year $month $day $era]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-datetime/tcl/acs-datetime-procs.xql