template::util::date::from_ansi (public)
template::util::date::from_ansi ansi_date [ format ]
Defined in packages/acs-templating/tcl/date-procs.tcl
Create a new templating system date structure from a full ANSI date, i.e. in the format YYYY-MM-DD HH24:MI:SS.
- Parameters:
- ansi_date (required)
- Date in full ANSI format YYYY-MM-DD HH24:MI:SS (time portion is optional).
- format (optional, defaults to
"YYYY MM DD"
)- Format for the date object. Optional, defaults to YYYY MM DD.
- Returns:
- Date object for use with e.g. form builder.
- Author:
- Lars Pind <lars@pinds.com>
- Created:
- November 18, 2002
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set date [template::util::date::create] set date [template::util::date::set_property format $date $format] set date [template::util::date::set_property ansi $date $ansi_date] return $dateXQL Not present: Generic, PostgreSQL, Oracle