acs::db::nsdb-postgresql method call timezone get_date (public)
<instance of acs::db::nsdb-postgresql> call timezone get_date \ [ -dbn dbn ] -tz_id tz_id -timestamp timestamp -format format \ -append_timezone_p append_timezone_p
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer {timestamp with time zone} {character varying} boolean
- Switches:
- -dbn (optional)
- -tz_id (required)
- -timestamp (required)
- -format (required)
- -append_timezone_p (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select timezone__get_date(CAST(:tz_id AS integer),:timestamp,:format,:append_timezone_p)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle