.TLOCALE - convert time zone locale name to ref value.

Alternate Entry Name: _TLOCALE

Usage:

B:
   %b/manif/t_ctrl
   tloc = .tlocale(name);
C:
   #include <t_ctrl.h>
   _T_locale _tlocale(const char *name);

Examples:

current = .tlocale(NULL);

Where:

name
points to a string giving the name of a time zone locale. You can also supply the NULL pointer, in which case .TLOCALE returns the time zone integer corresponding to the current locale.
tloc
is the current time zone locale, expressed as a time zone reference value. If "name" is not the name of a recognized time zone locale, .TLOCALE returns zero.

Description:

.TLOCALE takes the name of a time zone and returns a time zone reference value.

See Also:

expl b tz
for background on time zones.
expl b lib .tinit
for setting time zone definitions.
expl b lib .tlname
for the inverse of .TLOCALE.

Copyright © 1996, Thinkage Ltd.