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