tail head cat sleep
QR code linking to this page

Manual Pages  — TIMEZONE

NAME

timezone – return the timezone abbreviation

CONTENTS

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 AT&T v7 .

TIMEZONE (3) April 19, 1994

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
— Charles Babbage