Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

timezone

The number of seconds by which the local time zone is earlier than UTC

Synopsis:

#include <time.h>

long int timezone;

Description:

This global variable holds the number of seconds by which the local time zone is earlier than Coordinated Universal Time (UTC) (formerly known as Greenwich Mean Time). Whenever you call a time function, tzset() is called to set the variable, based on the current time zone.

Classification:

POSIX 1003.1 XSI

See also:

daylight, tzname, tzset()

Setting the time zone in the Configuring Your Environment chapter of the Neutrino User's Guide