Help for this page

Select Code to Download


  1. or download this
    typedef struct _TIME_ZONE_INFORMATION { 
        LONG       Bias; 
    ...
        SYSTEMTIME DaylightDate; 
        LONG       DaylightBias; 
    } TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION;
    
  2. or download this
    $tz_struct = pack("LU32S8LU32S8L", 0, " " x 32, 
        unpack("S8",$systime_struct),0, " " x 32, 
        unpack("S8",$systime_struct),0);