Reply to post:

Linux clockpocalypse in 2038 is looming and there's no 'serious plan'

AndrueC Silver badge
Boffin

Also being picky, that is local system time, which isn't necessarily the same as world atomic clock time..

Ah but most (probably all) modern OSes are using UTC (aka GMT) internally. Local time is a user feature that modern OSes only bother with as a convenience for us. Anyone who has had to muck about with date/time processing knows that you never store or manipulate local time. It's too much hassle and too error prone.

You can see this on Windows (and presumably on Linux as well) in a month or so when the clocks go back. Create a file just before DST kicks in and note the creation time. Check it after DST has started and it'll have changed by an hour. That's because the file system stores the time as UTC and applies a locale specific conversion when displaying it. DST yields a different result for that conversion.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon