template::util::date::acquire (public)

 template::util::date::acquire type [ value ]

Defined in packages/acs-templating/tcl/date-procs.tcl

Create a new date with some predefined value. Basically, create and set the date.

Parameters:
type
value (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_template_date_api template_date_api (test acs-templating) template::util::date::acquire template::util::date::acquire test_template_date_api->template::util::date::acquire template::util::date::create template::util::date::create (public) template::util::date::acquire->template::util::date::create template::util::date::set_property template::util::date::set_property (public) template::util::date::acquire->template::util::date::set_property template::data::from_sql::date template::data::from_sql::date (public) template::data::from_sql::date->template::util::date::acquire

Testcases:
template_date_api
Source code:
    set the_date [template::util::date::create]
    return [template::util::date::set_property $type $the_date $value]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: