cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

1505
Views
0
Helpful
6
Replies
zx2538265
Beginner

How to get Event start date including the time zone

Hi all,

I use getEvent  but just  respone startDate and tmezoneId.

And I use LstTimeZone , but the request date is UTC(?) time not I choose TmezoneId's Local Time

I want to get the start time of the time zone,because daylight saving time.

Like below

Image 4.png

Image 5.png


Please,how to get the time zone when this start Date?


1 ACCEPTED SOLUTION

Accepted Solutions

I was able to reproduce what you are seeing, but the results are correct. 9/24/2016 15:00 + 12 hours = 9/25/2016 03:00, at  that point the time zone offset would be GMT+13.

View solution in original post

6 REPLIES 6
Geevarghese Cheria
Cisco Employee

Hi Allen,

Your post has been moved from the general developer forum to the WebEx Developer

community . For faster response, please post any further questions related to the subject directly to the WebEx Developer forum  in the future.

  Please find the URL -How to get a Event Timezone? For relative information.

Thanks and Regards,

Geevarghese

kasutton
Cisco Employee

Hi Allen,

Did you schedule this event via the page UI or via XML API CreateEvent?

Kasey

I use XML API CreateEvent.

Then I want the NZ's TimeZone,

I call LstTimeZone date 09/30/2016 15:00 and  timeZoneID 60,

it respone Timezone is GMT+12:00 not GMT+13:00


Hi Allen,

I'm not able to duplicate that issue. Below is a snippet of my request:

<bodyContent xsi:type='java:com.webex.service.binding.site.LstTimeZone'>

       <timeZoneID>60</timeZoneID>

       <date>09/30/2016 15:00:00</date>

</bodyContent>

And this is the response I get:

<serv:bodyContent xsi:type="ns1:lstTimeZoneResponse">

  <ns1:timeZone>

    <ns1:timeZoneID>60</ns1:timeZoneID>

    <ns1:gmtOffset>780</ns1:gmtOffset>

   <ns1:description>GMT+13:00, New Zealand (Wellington)</ns1:description>

    <ns1:shortName>Wellington</ns1:shortName>

    <ns1:hideTimeZoneName>false</ns1:hideTimeZoneName>

    <ns1:fallInDST>true</ns1:fallInDST>

    <ns1:standardLabel>Standard</ns1:standardLabel>

    <ns1:daylightLabel>Daylight</ns1:daylightLabel>

  </ns1:timeZone>

</serv:bodyContent>

Can you send me the relevant snippet of your XML request and response (without password)?

Kasey

Sorry , the request date is  09/24/2016 15:00:00

you can see the flowing time change DST date is 09/25/2016 03:00

Time changes in year 2016 for New Zealand – Wellington

<bodyContent xsi:type='java:com.webex.service.binding.site.LstTimeZone'>

       <timeZoneID>60</timeZoneID>

       <date>09/24/2016 15:00:00</date>

</bodyContent>

<serv:bodyContent xsi:type="ns1:lstTimeZoneResponse">
       
<ns1:timeZone>
       
<ns1:timeZoneID>60</ns1:timeZoneID>
       
<ns1:gmtOffset>780</ns1:gmtOffset>
       
<ns1:description>GMT+13:00, New Zealand (Wellington)</ns1:description>
       
<ns1:shortName>Wellington</ns1:shortName>
       
<ns1:hideTimeZoneName>false</ns1:hideTimeZoneName>
       
<ns1:fallInDST>true</ns1:fallInDST>
       
<ns1:standardLabel>Standard</ns1:standardLabel>
       
<ns1:daylightLabel>Daylight</ns1:daylightLabel>
       
</ns1:timeZone>
</serv:bodyContent>

it respone is  GMT+13:00, not GMT+12:00

I was able to reproduce what you are seeing, but the results are correct. 9/24/2016 15:00 + 12 hours = 9/25/2016 03:00, at  that point the time zone offset would be GMT+13.

View solution in original post

Create
Recognize Your Peers
Content for Community-Ad