template::util::date::monthName (public)
template::util::date::monthName month length
Defined in packages/acs-templating/tcl/date-procs.tcl
Return the specified month name (short or long)
- Parameters:
- month (required)
- length (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # trim leading zeros to avoid octal problem set month [util::trim_leading_zeros $month] if {$length eq "long"} { return [lc_time_fmt "2002-[format "%02d" $month]-01" "%B"] } else { return [lc_time_fmt "2002-[format "%02d" $month]-01" "%b"] }XQL Not present: Generic, PostgreSQL, Oracle