Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
timezone - variable for difference between local time and UTC
&pagelevel(4)&pagelevel
Syntax | #include <time.h> extern long int timezone; |
Description | The external variable timezone contains the difference, in seconds, between Coordinated Universal Time (UTC) and the local standard time. The default for timezone is 0 (UTC). The environment-specific date and time information is contained in the file /usr/lib/locale/ language/LC_TIME . timezone is set by tzset() , ctime() , localtime() , mktime() , and strftime() .
|
Notes | Setting the time during the interval of switching from timezone to altzone or vice versa can produce unpredictable results. The system administrator must change the start and end date for daylight savings time annually if the Julian date format is used. |
See also | altzone , asctime() , ctime() , daylight , environ , gmtime() , localtime() , mktime(), strftime(), tzname, tzset() .
|