lang::conn::timezone (public)
lang::conn::timezone
Defined in packages/acs-lang/tcl/locale-procs.tcl
Get this connection's timezone. This is the user timezone, if set, otherwise the system timezone.
- Returns:
- a timezone name from acs-reference package (e.g., Asia/Tokyo, America/New_York)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- lang_test__lc_procs, set_get_timezone, set_timezone_not_logged_in, lc_time_fmt_Z_timezone, a_foreign_calendar_user
Source code: set timezone {} if { [ad_conn isconnected] } { set timezone [lang::user::timezone] } if { $timezone eq "" } { # No user timezone, return the system timezone set timezone [lang::system::timezone] } return $timezoneXQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-lang/tcl/locale-procs.xql