template::data::validate::timestamp (public)

 template::data::validate::timestamp value_ref message_ref

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

Validate that a submitted date conforms to the template system's notion of what a date should be.

Parameters:
value_ref (required)
Reference variable to the submitted value
message_ref (required)
Reference variable for returning an error message
Returns:
True (1) if valid, false (0) if not

Partial Call Graph (max 5 caller/called nodes):
%3 test_validate_date validate_date (test acs-templating) template::data::validate::timestamp template::data::validate::timestamp test_validate_date->template::data::validate::timestamp template::util::date::validate template::util::date::validate (public) template::data::validate::timestamp->template::util::date::validate

Testcases:
validate_date
Source code:

    upvar 2 $message_ref message $value_ref value

    return [template::util::date::validate $value message]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: