Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File System Object / File object

Status
Not open for further replies.

RonVaught

Programmer
Joined
Oct 22, 2002
Messages
62
Location
US
I’m using the File System Object with a (File) object / variable. After instantiating the File object I see what appears to wrong dates being returned from the DateCreated property and DateLastModified property. The DateCreated property is returning a date that’s more recent than the DateLastModified. It looks like the last modification was made about an hour before the file was created.


‘ from immediate window
? fFile.DateCreated
8/15/02 3:07:42 PM
? fFile.DateLastModified
8/15/02 2:06:36 PM


Am I missing something here or does anyone know of bugs / problems with the File object’s Date properties?
 
Probably time zone issue. For instance Oracle uses GMT.
 
Thanks RLCraven!!

Precisely. That’s what I’m seeing here. It’s an issue with time zones.

RLCraven for president!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top