in reply to Re^2: Getting the timestamp of a file
in thread Getting the timestamp of a file

localtime usually works pretty well. If it doesn't, chances are that you're doing something seriously wrong.

But of course without seeing any code we can't tell.