Does the Java File.lastModified return value change if the time zone changes? … here is a solution to the problem.
Does the Java File.lastModified return value change if the time zone changes?
Does the last modified function in class File always return the same value even if the current device time is updated or the user changes the device time zone?
Solution
File.lastModified
corresponds to the last updated time of the file pointed to by File
, expressed in UTC milliseconds, since Epoch(1-1-1970).