timezone(3) netbsd man page | unix.com

Man Page: timezone

Operating Environment: netbsd

Section: 3

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 available for compatibility only and will disappear in a future software release; it is impossible to reliably map time- zone's arguments to a time zone abbreviation. See ctime(3); see tzset(3) for the new definition of this interface. 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 savings time is in effect.
SEE ALSO
ctime(3), tzset(3)
HISTORY
A timezone() function appeared in Version 7 AT&T UNIX.
BSD
April 19, 1994 BSD
Related Man Pages
asctime(3) - bsd
localtime(3) - bsd
gettimeofday(2) - freebsd
settimeofday(2) - freebsd
geoip_time_zone_by_country_and_region(3) - php
Similar Topics in the Unix Linux Community
time in microseconds
Timezone
US timezone changes Mar 2007
Shell script to get Timezone
Changing only time zone file not the timezone without reboot