blob: ab88634af9e80176d3990af6f7e8566e8db0265d [file] [log] [blame]
@node tzname
@section @code{tzname}
@findex tzname
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzname.html}
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This variable is missing on some platforms:
IRIX 6.5, mingw.
@item
The address of this variable is not a compile-time constant on some platforms:
Cygwin, mingw.
@item
Native Windows platforms (mingw, MSVC) support only a subset of time
zones supported by GNU or specified by POSIX. @xref{tzset}.
@end itemize
A more portable way of getting the time zone abbreviation is to use
@code{strftime} with the @code{%Z} format. @xref{strftime}.