exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Time zone of Exchange server-- how to retrieve via WebDav?

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development
Author Message
DALindsey



Joined: 25 Feb 2008
Posts: 1

PostPosted: Mon Feb 25, 2008 11:47 am    Post subject: Time zone of Exchange server-- how to retrieve via WebDav? Reply with quote

When I retrieve meetings, etc from Exchange using WebDav, I know the
time is returned in UTC. My question is how do I access the time zone
of the Exchange server so I then can convert the appointment from UTC
to the proper timezone?

In my webdav request, I do ask for the timezoneid property (I also
tried the timezone property) but it is returned as "".

Sample request:

PROPFIND /exchange/test/Calendar/21.EML HTTP/1.1
Content-Type: text/xml
Host: 9.33.36.65
Depth: 1
Authorization: Basic Y3BwXHRlc3Q6UGFzc3cwcmQ=
User-Agent: Java/1.4.2
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 461

xmlns:cal='urn:schemas:calendar:' xmlns:d='urn:schemas:mailheader:'
xmlns:e='urn:schemas:httpmail:'> > > > >


Response:

HTTP/1.1 207 Multi-Status
Date: Mon, 25 Feb 2008 14:45:45 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Type: text/xml
Accept-Ranges: rows
MS-WebStorage: 6.5.7638
Transfer-Encoding: chunked

xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:d="urn:schemas:httpmail:" xmlns:c="xml:"
xmlns:e="urn:schemas:calendar:"
xmlns:a="DAV:">http://9.33.36.65/exchange/test/
Calendar/21.EMLHTTP/1.1 200 OK a:status>21 b:dt="boolean">0

2008-02-20T23:00:00.000Z
2008-02-21T23:00:00.000Z

"test user" <test@cpp.notesdev.ibm.com> e:organizer>CD0000008B9511D182D800C04FB1625D127F13282B257D478FB9E4F8279840BC e:uid>1 e:responserequested>1 e:alldayevent>TENTATIVE e:meetingstatus>0 a:prop>HTTP/1.1 404 Resource Not
Found



a:response>
0


This is an allday event that was created in the +1:00 timezone...so is
stored in Exchange an hour behind. Note that the timezoneid is empty..

Any assistance would be appreciated. Thanks!
Devin

Archived from group: microsoft>public>exchange>development
Back to top
View user's profile Send private message
Henning Krause [MVP - Exc



Joined: 05 Aug 2007
Posts: 142

PostPosted: Mon Feb 25, 2008 11:52 pm    Post subject: Re: Time zone of Exchange server-- how to retrieve via WebDa Reply with quote

Hello,

the server timezone is irrelevant to the meeting. Most of the time
information of a contact is stored as UTC. Therefore you can use the .NET
DateTime.ToLocalTime.

This usually makes the most sense on a client computer.

But don't forget to call DateTime.ToUniversalTime before you save something
to the store.

Kind regards,
Henning Krause

wrote in message @q78g2000hsh.googlegroups.com...
> When I retrieve meetings, etc from Exchange using WebDav, I know the
> time is returned in UTC. My question is how do I access the time zone
> of the Exchange server so I then can convert the appointment from UTC
> to the proper timezone?
>
> In my webdav request, I do ask for the timezoneid property (I also
> tried the timezone property) but it is returned as "".
>
> Sample request:
>
> PROPFIND /exchange/test/Calendar/21.EML HTTP/1.1
> Content-Type: text/xml
> Host: 9.33.36.65
> Depth: 1
> Authorization: Basic Y3BwXHRlc3Q6UGFzc3cwcmQ=
> User-Agent: Java/1.4.2
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> Content-Length: 461
>
> > xmlns:cal='urn:schemas:calendar:' xmlns:d='urn:schemas:mailheader:'
> xmlns:e='urn:schemas:httpmail:'> >> >> >> >>
>
>
> Response:
>
> HTTP/1.1 207 Multi-Status
> Date: Mon, 25 Feb 2008 14:45:45 GMT
> Server: Microsoft-IIS/6.0
> X-Powered-By: ASP.NET
> Content-Type: text/xml
> Accept-Ranges: rows
> MS-WebStorage: 6.5.7638
> Transfer-Encoding: chunked
>
> > xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
> xmlns:d="urn:schemas:httpmail:" xmlns:c="xml:"
> xmlns:e="urn:schemas:calendar:"
> xmlns:a="DAV:">http://9.33.36.65/exchange/test/
> Calendar/21.EMLHTTP/1.1 200 OK > a:status>21 > b:dt="boolean">0
>
> 2008-02-20T23:00:00.000Z
> 2008-02-21T23:00:00.000Z
>
> "test user" <test@cpp.notesdev.ibm.com> > e:organizer>CD0000008B9511D182D800C04FB1625D127F13282B257D478FB9E4F8279840BC > e:uid>1 > e:responserequested>1 > e:alldayevent>TENTATIVE > e:meetingstatus>0 > a:prop>HTTP/1.1 404 Resource Not
> Found
>
>
>
> > a:response>
> 0
>
>
> This is an allday event that was created in the +1:00 timezone...so is
> stored in Exchange an hour behind. Note that the timezoneid is empty..
>
> Any assistance would be appreciated. Thanks!
> Devin
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Need help to retrieve all properties of TASK item using WebD Hi Friends, I am trying to retrieve all the properties of TASK item from exchange 2003 using WebDAV by following below approach, but none of these approach retrieve all the properties of the TASK, even the main properties of TASK are not being returned. a

webDAV and Exchange Hello, I have a question regarding how webDAV accesses the Exchange store. Does it go directly to the mailbox, or does it go through the Hub Transport? We are doing an Exchange calendar integration for our application, and it is important that our method

Exchange 2007 and WebDAV Hi, I have an application that talks to Exchange using WebDAV. It seems to break at some customer sites because the URL seems to be instead of What do I need to change on the exchange server to repli

Exchange webDav Configuration I am needing to find some documentation for configuring webDav for Exchange. Is there a KB article or whitepaper somewhere? I am not able to find anything. If this is the wrong place to look, please guide me. Thanks, Glenn

create many appointment Exchange webdav HI, With the next vbscript code, i create an appointment. The problem is that i want create more than 1 appointment. If I change the date, the appointment created change the date. I think the identity of the appointment is done with
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group