timezone man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

TIMEZONE(3)		  OpenBSD Programmer's Manual		   TIMEZONE(3)

NAME
     timezone - return the time zone abbreviation

SYNOPSIS
     #include <time.h>

     char *
     timezone(int zone, int dst);

DESCRIPTION
     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
     system time zone may be set by running ``zic -l timezone'' as the
     superuser.

SEE ALSO
     ctime(3), zic(8)

HISTORY
     A timezone() function appeared in Version 7 AT&T UNIX.

OpenBSD 4.9			 May 31, 2007			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net