TIMEZONE(3POSIX)
β¨ TIMEZONE(3POSIX) β¨
okay bestie, welcome to the POSIX Programmer's Manual π this one's a lil baby page but it's important, i promise. it's timezone(3POSIX) and it's literally just about the difference between UTC and your local standard time. no cap.
π«Ά PROLOG π«Ά
okay so first things first, and this is lowkey important: this manual page is part of the POSIX Programmer's Manual. the Linux implementation of this interface may differ (so like, go check the corresponding Linux manual page for the details on how Linux actually does it), or the interface might not be implemented on Linux at all. π so don't come for me if Linux is being different, that's just how it is.
πΈ NAME πΈ
timezone β the difference from UTC and local standard time. that's it, that's the vibe. it's giving "how far off are we from the world clock" π°οΈβ¨
π SYNOPSIS π
#include <time.h>
extern long timezone;
that's the whole thing. iconic, honestly. no arguments, no nothing, just a long sitting there with main character energy π
π¦ DESCRIPTION π¦
okay so this one's a little "go ask your sister" situation β refer to tzset(). that's where the actual tea is. this page is just the pointer, iykyk. π
π COPYRIGHT π
okay so legally i have to tell you all of this, and it's a lot, but we respect the lawyers in this house π«‘
portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. fr fr, that's the real citation, i did not make that up.
and if there's ever any discrepancy between this version and the original IEEE and The Open Group Standard β like if they don't match up? β the original IEEE and The Open Group Standard is the referee document. it wins. periodt. the original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
also, any typographical or formatting errors that show up in this page are most likely from the conversion of the source files into man page format. not on purpose!! if you wanna report those errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html . π
π cute lil sign-off: this page is brought to you by IEEE/The Open Group, 2017 π stay timezone-aware, bestie, and go read tzset() like i told you πβ
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms