Date received of email is incorrect by hours?
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Date received of email is incorrect by hours?

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Nelson



Joined: 14 Jun 2005
Posts: 16

Posted: Mon Nov 21, 2005 6:51 pm    Post subject: Date received of email is incorrect by hours? Reply with quote

When I receive an email in my inbox it shows the time it was received (say 11/14/2005 11:25:29AM). If I check the "datereceived" property using Mistaya (a utility so I can read the namespace properties via webdav, then same date/time is shown 11/14/2005 11:25:29AM).

However, when I actually request the date/time with a query via WebDAV, I get back "2005-11-14T16:25:29.000Z". The date is correct, but the time is 4:25:29PM. It's off by 5 hours. What is wrong?

Thank you very much for your help,

Nelson

Back to top
View user's profile Send private message
Lee Derbyshire [MVP]
Guest





Posted: Tue Nov 22, 2005 5:58 pm    Post subject: Re: Date received of email is incorrect by hours? Reply with quote

"Nelson" <fgump101@hotmail-dot-com.no-spam.invalid> wrote in message
news:i-adnWbSo8ai5h_eRVn_vQ@giganews.com...
Quote:
When I receive an email in my inbox it shows the time it was
received
(say 11/14/2005 11:25:29AM). If I check the "datereceived" property
using Mistaya (a utility so I can read the namespace properties via
webdav, then same date/time is shown 11/14/2005 11:25:29AM).

However, when I actually request the date/time with a query via
WebDAV, I get back "2005-11-14T16:25:29.000Z". The date is correct,
but the time is 4:25:29PM. It's off by 5 hours. What is wrong?

Thank you very much for your help,

Nelson

Exchange stores all its times in GMT (or UTC). Your WebDAV query
returns the 'raw' time in GMT, but Outlook converts it to your local
time. Mistaya would appear to do so, too.

Lee.

--
_______________________________________

Outlook Web Access For PDA , OWA For WAP
www.owapda.com
email a@t leederbyshire d.0.t c.0.m
_______________________________________
Back to top
Bob
Guest





Posted: Wed Nov 23, 2005 1:58 am    Post subject: Re: Date received of email is incorrect by hours? Reply with quote

"Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m> wrote in
message news:uuk6De27FHA.1032@TK2MSFTNGP11.phx.gbl...
Quote:
"Nelson" <fgump101@hotmail-dot-com.no-spam.invalid> wrote in message
news:i-adnWbSo8ai5h_eRVn_vQ@giganews.com...
When I receive an email in my inbox it shows the time it was
received
(say 11/14/2005 11:25:29AM). If I check the "datereceived" property
using Mistaya (a utility so I can read the namespace properties via
webdav, then same date/time is shown 11/14/2005 11:25:29AM).

However, when I actually request the date/time with a query via
WebDAV, I get back "2005-11-14T16:25:29.000Z". The date is correct,
but the time is 4:25:29PM. It's off by 5 hours. What is wrong?

Thank you very much for your help,

Nelson

Exchange stores all its times in GMT (or UTC). Your WebDAV query
returns the 'raw' time in GMT, but Outlook converts it to your local
time. Mistaya would appear to do so, too.

Lee.

--
_______________________________________

Outlook Web Access For PDA , OWA For WAP
www.owapda.com
email a@t leederbyshire d.0.t c.0.m
_______________________________________



And the trick is the "Z" at the end of the string indicating "ZULU" time

Back to top
Nelson



Joined: 14 Jun 2005
Posts: 16

Posted: Tue Nov 29, 2005 3:24 pm    Post subject: Thank you Reply with quote

Got it! I added some code to my program to determine the local time zone bias (hour difference to GMT) and corrected it.

Thanks for the feedback.

Best Regards,

Nelson
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
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




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB