| 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? |
|
|
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 |
|
 |
Lee Derbyshire [MVP]
Guest
|
Posted:
Tue Nov 22, 2005 5:58 pm Post subject:
Re: Date received of email is incorrect by hours? |
|
|
"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? |
|
|
"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 |
|
|
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 |
|
 |
|
|
|
|