ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



TIMEZONE(3)              BSD Library Functions Manual              TIMEZONE(3)

NAME
     timezone -- return the timezone abbreviation

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     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.  The zone argument is the number of minutes west of GMT and dst is non-zero if daylight savings
     time is in effect.

SEE ALSO
     ctime(3)

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

BSD                             April 19, 1994                             BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.