tzset

Sets the tzname, timezone, and daylight global variable parameters.

Library:LibC
Classification:Other
Service:Time

Syntax

  #include <time.h> 
   
  void tzset ( void );
  

Remarks

Before accessing the tzname, timezone, and daylight global variable parameters, you must first call tzset to initialize or update these variables to the correct values.

See Also