none
Daylight Savings offset when sending a GetUserAvailabilityRequest RRS feed

  • Question

  • I'm developing an iOS client that talks directly to an EWS service to retrieve room availability.

    At present I'm working to internationalize it by support multiple timezones. I'm testing the application using Office 365 and getting help from an individual in Texas. CDT is the current time I'm using, so that represents a 5 hour time difference with UTC (GMT). However, I'm seeing an hour's difference in the times returned from the service and it's due to the daylight savings bias.

    <GetUserAvailabilityRequest xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\">
    <TimeZone xmlns=\"http://schemas.microsoft.com/exchange/services/2006/types\">
    <Bias>300</Bias>
    <StandardTime>
    <Bias>0</Bias>
    <Time>02:00:00</Time>
    <DayOrder>5</DayOrder>
    <Month>10</Month>
    <DayOfWeek>Sunday</DayOfWeek>
    </StandardTime>
    <DaylightTime>
    <Bias>-60</Bias>
    <Time>02:00:00</Time>
    <DayOrder>1</DayOrder>
    <Month>4</Month>
    <DayOfWeek>Sunday</DayOfWeek>
    </DaylightTime>
    </TimeZone>

    I have created an appointment in my application for 4AM. The time returned in the GetUserAvailabilityResponse is 10AM (representing a 6 hour offset). If I remove the DaylightTime bias by setting it to zero, The time returned is 9AM, which I expect.

    I don't understand the way that the DaylightTime is applied. Am I making a serious mistake here? Is it possible that the DaylightTime is only needed when I'm setting a recurring appointment or something?

    Could anyone clarify this?

    Wednesday, September 5, 2012 8:59 AM