Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
John John is offline
external usenet poster
 
Posts: 307
Default Custom date properties and daylight savings time

I have noticed some strange behavior with custom date properties that I was
hoping someone could comment on. I have witnessed the behavior with both
Word 2003 and Word 2007.

The behavior can be witnessed with the following workflow:
1) Configure your computer so that it automatically adjusts for daylight
savings time (goto the Control Panel and select "Date and Time", in the "Date
and Time Properties" window select the "Time Zone" tab, select a time zone
where daylight savings time applies--I'm using "(GMT -5:00) Eastern Time (US
& Canada)"--then ensure that the "Automatically adjust clock for daylight
savings time changes" checkbox is checked.
2) Open Word and create a new document. Edit the document properties and
create a new date type custom property. Set the value of this property to
"1/1/2008". Save the file and close Word.
3) Change the configuration of your computer so that it no longer adjust for
daylight savings time.
4) Reopen the file you previously created and look at the properties.
Notice that your custom property now displays "12/31/2007".

I have examined the values for these properties as they are exposed by the
Office IFilter, and it appears that they are stored incorrectly. The values
of the property are exposed by the IFilter in as a Coordinated Universal Time
(UTC) value. The Eastern Time zone is normally 5 hours behind UTC, so the
UTC value of the property should be "1/1/2008 5:00 AM". Instead, the UTC
value is reported as "1/1/2008 4:00 AM". January 1st falls outside of the
daylight savings time window, so it should not be affected by the computer's
daylight savings time configuration.

Is this a bug? Or is this the expected behavior?

Thanks.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change to the earlier daylight saving time joygolf Microsoft Word Help 2 March 5th 07 03:31 PM
Format Date and Time to show Military Time AlanFD Microsoft Word Help 2 September 22nd 06 10:44 PM
custom properties Arlan Tables 2 June 19th 05 03:47 AM
Can I set a recuring appointment for daylight savings time? MikeA Microsoft Word Help 1 April 3rd 05 06:17 PM
Custom Properties Andy Microsoft Word Help 3 March 16th 05 08:38 AM


All times are GMT +1. The time now is 02:17 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"