template::util::date::now (public)

 template::util::date::now

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

Create a new Date object for the current date and time.

Testcases:
sql_date
Source code:
    set now [clock format [clock seconds] -format "%Y %m %d %H %M %S"]
    set today [list]

    foreach v $now {
        lappend today [util::trim_leading_zeros $v]
    }

    return [create {*}$today]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: