1*61111Sbostic.\" Copyright (c) 1991, 1993 2*61111Sbostic.\" The Regents of the University of California. All rights reserved. 349874Sbostic.\" 449874Sbostic.\" %sccs.include.redist.roff% 549874Sbostic.\" 6*61111Sbostic.\" @(#)timezone.3 8.1 (Berkeley) 06/04/93 749874Sbostic.\" 849874Sbostic.Dd "" 949874Sbostic.Dt TIMEZONE 3 1049874Sbostic.Os 1149874Sbostic.Sh NAME 1249874Sbostic.Nm timezone 1349874Sbostic.Nd return the timezone abbreviation 1449874Sbostic.Sh SYNOPSIS 1549874Sbostic.Ft char * 1649874Sbostic.Fn timezone "int zone" "int dst" 1749874Sbostic.Sh DESCRIPTION 1849874Sbostic.ft B 1949874SbosticThis interface is for compatibility only; it is impossible to reliably 2049874Sbosticmap timezone's arguments to a time zone abbreviation. 2149874SbosticSee ctime(3). 2249874Sbostic.ft P 2349874Sbostic.Pp 2449874SbosticThe 2549874Sbostic.Fn timezone 2649874Sbosticfunction returns a pointer to a time zone abbreviation for the specifed 2749874Sbostic.Ar zone 2849874Sbosticand 2949874Sbostic.Ar dst 3049874Sbosticvalues. 3149874Sbostic.Ar Zone 3249874Sbosticis the number of minutes west of GMT and 3349874Sbostic.Ar dst 3449874Sbosticis non-zero if daylight savings time is in effect. 3549874Sbostic.Sh SEE ALSO 3649874Sbostic.Xr ctime 3 3749874Sbostic.Sh HISTORY 3849874SbosticA 3949874Sbostic.Fn timezone 4049874Sbosticfunction appeared in 4149874Sbostic.At v7 . 42