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):
%3 template::util::date::create template::util::date::create (public) template::util::date::set_property template::util::date::set_property (public) template::util::date::from_ansi template::util::date::from_ansi template::util::date::from_ansi->template::util::date::create template::util::date::from_ansi->template::util::date::set_property

Testcases:
No testcase defined.
[ show source ]
Show another procedure: