timezone --
(BSD) get time zone name given offset from GMT
Synopsis
/usr/ucb/cc [flag . . . ] file . . .
char *timezone(int zone, int dst);
Description
timezone
attempts to return the name of the time zone
associated with its first argument, which is
measured in minutes westward from Greenwich.
If the second argument is 0, the standard name is used,
otherwise the Daylight Savings Time version.
If the required name does not appear in a table
built into the routine, the difference from
GMT
is produced; for instance, in Afghanistan
timezone(-(60*4+30), 0)
is appropriate because it is 4:30 ahead of
GMT
and the string
GMT+4:30
is produced.