Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Daylight Savings
Message
From
30/10/2003 09:41:26
 
 
To
30/10/2003 09:16:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00844482
Message ID:
00844492
Views:
18
>I am having a strange problem with the lastmodified datetime due to Daylight Savings.
>
>I have an application that takes a snapshot of a network folder tree and saves the path, filename, size, last modified datetime of all files under it into a table, then users keep adding files under that folder tree and then the app compares the tree with the snapshot (stored in a table) and finds out all modified files or new files and then zips them up and uploads them to an FTP server.
>
>All this worked fine till the daylight savings kicked in.
>
>e.g. a file in the snapshot has a datetime of 2003/01/01 9:30 am and that same file on the network now shows its datetime as 2003/01/01 8:30 am. This has happend to every file on the network so now the application thinks that every file has been modified (even though really none of them were modified) and creates this huge zip file. Every file has a 3600 second difference which is one hour.
>
>Has any one encountered this problem?

It is an interesting problem. We also have the same here. For example, some replies to a thread have been done before the thread itself. Interesting, isn't it? :) Many companies are applying a shutdown during that hour to avoid such situations. What I would recommend is to use an utility to reset the timestamp of those files. I sometime do that here as well.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform