Alternate Entry Name: _TZQRY
B: %b/manif/t_ctrl tzref = .tzqry(name);
C: #include <t_ctrl.h> _T_time_zone _tzqry(const char *name);
tzref = .tzqry("EST");
.TZQRY converts a time zone name to a time zone reference value. You can then feed this value as an argument to functions like .TZNAME, .TZOFF, and .TZISDST.
If "name" is not the name of a recognized time zone, .TZQRY returns a reference value indicating the error time zone. However, this doesn't really let you determine whether the "name" is the name of a recognized time zone. The best way to do that is to call .TZNAME on the result of .TZQRY and see if the function returns a pointer to an empty string.
Copyright © 1996, Thinkage Ltd.