add one hour to file time attribute

inoxo

Registered User.
Local time
Today, 13:28
Joined
Sep 8, 2005
Messages
42
Hi,

I have an Access application whith manage pictures. The pictures come from different sources and the date/time is'n always correct.

For example, I need to add one hour to every jpg where the file name contains the string "xyz".
There are many untilities which can set the time attibute to a given time but I didn't found any to increase/decrease the time attribute with a given delay (1 hour, 1 day, 1 year, ...)

I expect this could be with a short VBA function. Does anyone has an idea or - better - the right code ?

Thanks.
 

Users who are viewing this thread

Back
Top Bottom