TIMEZONE(3) BSD Programmer's Manual TIMEZONE(3)
timezone - return the timezone abbreviation
#include <time.h>
char *
timezone(int zone, int dst);
This interface is for compatibility only; it is impossible to reliably
map timezone()'s arguments to a time zone abbreviation (see ctime(3)).
The timezone() function returns a pointer to a time zone abbreviation for
the specified zone and dst values. zone is the number of minutes west of
GMT and dst is non-zero if Daylight Saving Time is in effect.
This function is not used to set the system's time zone. The default sys-
tem time zone may be set by running "zic -l timezone" as the superuser.
ctime(3), zic(8)
A timezone() function appeared in Version 7 AT&T UNIX.
MirOS BSD #10-current April 19, 1994 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.