lc_time_tz_convert (public)

 lc_time_tz_convert -from from -to to -time_value time_value

Defined in packages/acs-lang/tcl/localization-procs.tcl

Converts a date from one timezone to another.

Switches:
-from
(required)
-to
(required)
-time_value
(required)
Timestamp in the 'from' timezone, in the ISO datetime format ("%Y-%m-%d %H:%M:%S" as per Tcl clock api). Some seemingly invalid dates such as "2000-00-00 00:00:00" may be accepted and normalized to a valid date, also according to he behavior of the Tcl clock api.
Returns:
Timestamp in the 'to' timezone, also in ISO datetime format, or the empty string when 'time_value' or one of the timezones are invalid, or when it is otherwise impossible to determine the right conversion.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_lang_test__lc_procs lang_test__lc_procs (test acs-lang) lc_time_tz_convert lc_time_tz_convert test_lang_test__lc_procs->lc_time_tz_convert test_lang_test__lc_timezones lang_test__lc_timezones (test acs-lang) test_lang_test__lc_timezones->lc_time_tz_convert ad_log ad_log (public) lc_time_tz_convert->ad_log db_string db_string (public) lc_time_tz_convert->db_string fs::rss::datasource fs::rss::datasource (private) fs::rss::datasource->lc_time_tz_convert lc_time_conn_to_system lc_time_conn_to_system (public) lc_time_conn_to_system->lc_time_tz_convert lc_time_local_to_utc lc_time_local_to_utc (public) lc_time_local_to_utc->lc_time_tz_convert lc_time_system_to_conn lc_time_system_to_conn (public) lc_time_system_to_conn->lc_time_tz_convert lc_time_utc_to_local lc_time_utc_to_local (public) lc_time_utc_to_local->lc_time_tz_convert

Testcases:
lang_test__lc_procs, lang_test__lc_timezones
[ show source ]
Show another procedure: