calendar::adjust_date (public, deprecated)
calendar::adjust_date [ -date date ] [ -julian_date julian_date ]
Defined in packages/calendar/tcl/calendar-procs.tcl
Deprecated. Invoking this procedure generates a warning.
- Switches:
- -date (optional)
- -julian_date (optional)
- Returns:
- the date if it is provided. Otherwise, the julian date in ANSI format, if provided, or the system date. DEPRECATED: this proc implements a trivial defaulting logic that can be inlined just as well.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc calendar::adjust_date if {$date eq ""} { if {$julian_date ne ""} { set date [dt_julian_to_ansi $julian_date] } else { set date [dt_sysdate] } } return $dateGeneric XQL file: packages/calendar/tcl/calendar-procs.xql
PostgreSQL XQL file: packages/calendar/tcl/calendar-procs-postgresql.xql
Oracle XQL file: packages/calendar/tcl/calendar-procs-oracle.xql