*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> timezone (3)              



NAME    [Toc]    [Back]

     timezone - return the timezone abbreviation

SYNOPSIS    [Toc]    [Back]

     #include <time.h>

     char *
     timezone(int zone, int dst);

DESCRIPTION    [Toc]    [Back]

     This interface is for compatibility only; it  is  impossible
to reliably
     map  timezone()'s arguments to a time zone abbreviation (see

     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    [Toc]    [Back]

     ctime(3), zic(8)

HISTORY    [Toc]    [Back]

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

OpenBSD      3.6                          April      19,     1994
[ Back ]
 Similar pages
Name OS Title
Text::Abbrev IRIX create an abbreviation table from a list
tzfile FreeBSD timezone information
tzsetup FreeBSD set local timezone
zic FreeBSD timezone compiler
zdump FreeBSD timezone dumper
tzsetup Linux set the local timezone
timezone Tru64 Sets timezone information
ipanel IRIX customization panel for setting locale, timezone and keyboard
adjkerntz FreeBSD adjust local time CMOS clock to reflect time zone changes and keep current timezone offset for the k...
vm_map_max FreeBSD return map properties
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service