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

daylight

Indicator of support for daylight saving time in the locale

Synopsis:

#include <time.h>

unsigned int daylight;

Description:

This global variable has a value of 1 when daylight saving time is supported in this locale, and 0 otherwise. 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:

timezone, tzname, tzset()

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