Re: incorrect times displayed
Steve Kleene writes:
> My local time is US/Eastern Daylight. When it was 11:58 EDT, I called
> "date". It reported
> Sun Apr 22 07:58:12 EDT 2007
> i.e. 4 hours earlier than local time. (Note that GMT would be 4 hours later,
> not earlier.)
> At 11:30, I created a file on a flash drive. The create time was shown as
> 7:30. I then moved the flash drive to an old Red Hat machine that displays
> times correctly. On that machine, the create time for the same file was
> shown as 11:30.
This implies that your system time is correct.
Type 'date; date -u; TZ=UTC date' at the command line (no quotes) and post
the result along with the correct time. Also do 'sudo hwclock -r --utc'
and 'sudo hwclock -r --localtime' and post the results.
--
John Hasler
Reply to: