Notifications
Clear all
[Closed] getFileModDate vs GetLastWriteTime
Oct 20, 2015 11:07 am
Have you ever wandered, why there is a difference between “getFileModDate” and “GetLastWriteTime”
Let’s say we have a file
s = @C:\a.max
print (((dotnetclass "System.IO.File").GetLastWriteTime(s)).ToString())
print (getFileModDate s)
I get:
“7/10/2015 6:55:22 PM”
“7/10/2015 6:55:11 PM”
11 seconds difference.
2 Replies
Oct 20, 2015 11:07 am
i would trust GetLastWriteTime… at least most of c# (.net) applications use it