template::util::date::compare (public)
template::util::date::compare date1 date2
Defined in packages/acs-templating/tcl/date-procs.tcl
Perform date comparison; same syntax as string compare.
- Parameters:
- date1 (required)
- date2 (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: for { set i 0 } { $i < 5 } { incr i } { if { [lindex $date1 $i] < [lindex $date2 $i] } { return -1 } elseif { [lindex $date1 $i] > [lindex $date2 $i] } { return 1 } } return 0XQL Not present: Generic, PostgreSQL, Oracle