共用方式為


TZREG

Defines when daylight saving time starts, when the return to standard time occurs, and how many hours the daylight saving shift is.

Quick Info

typedef struct RenTimeZone { 
    long        lBias;  
    long        lStandardBias; 
    long        lDaylightBias; 
    SYSTEMTIME  stStandardDate; 
    SYSTEMTIME  stDaylightDate; 
} TZREG; 

Members

  • lBias
    The offset from Greenwich Mean Time (GMT).
  • lStandardBias
    The offset from bias during standard time.
  • lDaylightBias
    The offset from bias during daylight saving time.
  • stStandardDate
    The time to switch to standard time.
  • stDaylightDate
    The time to switch to daylight saving time.

Remarks

This structure is similar to TIME_ZONE_INFORMATION. This is the structure used by legacy clients to store time zone information for recurring meetings.

See also

About Rebasing Calendars Programmatically for Daylight Saving Time
HrCreateApptRebaser
TZRULE