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)
- A datetime in one of the supported formats. See lc_datetime_to_clock.
- 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):
- Testcases:
- lang_test__lc_procs, lang_test__lc_timezones