Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
daylight - daylight savings time variable
&pagelevel(4)&pagelevel
Syntax | #include <time.h> extern int daylight; |
Description | The external variable daylight indicates whether time should reflect daylight savings time.
daylight is non-zero if an alternate time zone exists. The timezone names are contained in the external variable tzname, which is set by default as follows: char *tzname[2] = { "GMT", " " };
daylight is set by tzset(), ctime(), localtime(), mktime(), and strftime().
|
Notes | The system administrator must change the start and end date for daylight savings time each year if the Julian date format is used. |
See also | altzone, asctime(), ctime(), gmtime(), localtime(), timezone, tzname, tzset(), time.h.
|