By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

FileDateTime 1 hour off

P: n/a
I have a program in VB 6 and one in VB.NET that both call the
FileDateTime function. On the same file the VB 6 call returns the
correct modified time, the .NET code is exactly one hour off.

VB 6 code, returns 9/18/2003 1:59:28 PM (which is correct)

Private Sub Command1_Click()

MsgBox FileDateTime("c:\streets_f.shp.test")

End Sub

VB.NET code, returns 9/18/2003 2:59:28 PM (which is wrong)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

MsgBox(FileDateTime("c:\streets_f.shp.test"))

End Sub

Does anyone have any ideas what could be causing this?

Thanks!
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.