nstcl  >  Documentation  >  nstcl-database  >  ns_localsqltimestamp

Tcl Powered!

ns_localsqltimestamp

NAME

ns_localsqltimestamp — Returns the current local time in SQL timestamp format

SYNOPSIS

package require nstcl-database ?1.0?
package require nstcl ?1.0?

::nstcl::ns_localsqltimestamp

DESCRIPTION

Returns the current local time in SQL timestamp format, that is, "YYYY-MM-DD HH24:MI:SS".

KEYWORDS

database, nstcl