Author Topic: Files on server displays wrong dates years 1904, 2040.  (Read 1800 times)

Offline e5frog

  • Newcomer
  • Posts: 2
  • New Member
Files on server displays wrong dates years 1904, 2040.
« on: December 02, 2021, 07:31:26 AM »
OS9.2.2 on G4 hang, rebooted, locked up, PRAM reset button on the motherboad was used to get it booting up again.
Date was then set correctly.

Now files on the server are shown with the wrong date, but on an OSX machine and also a PC (win XP) they are shown correctly.

For example (sorry about the date format, I'm Swedish)
Friday 1 January 1904, 23.39
Friday 1 January 1904, 23.38
Friday 1 January 1904, 23.37

Instead of the correct:
2021-12-02 14:07
2021-12-02 14:06
2021-12-02 14:05
... or it should really have said:
Thursday 2 December 2021, 14:07
etc.

Files made "2021-11-22" are shown as "Saturday 28 January 2040".

I know counting starts at 1/1 1904 and the rollover date is somewhere in 2040... why is the date interpreted wrong for files from the server all of a sudden, it was correct before it locked up.
For some reason "time 0" was set at crash/reset time and instead of 2021 it's thought to be 1904.

Thoughts, recommendations?

Offline e5frog

  • Newcomer
  • Posts: 2
  • New Member
Re: Files on server displays wrong dates years 1904, 2040.
« Reply #1 on: December 02, 2021, 07:45:14 AM »
I'll leave it in case someone else gets the same problem.

Restarting and reconnecting to the server seems to have solved the problem.

Offline ovalking

  • Gold Member
  • *****
  • Posts: 210
  • new to the forums
Re: Files on server displays wrong dates years 1904, 2040.
« Reply #2 on: December 03, 2021, 05:39:12 AM »
For anyone who has created / edited a file while your clock is incorrect, then created / modified time stamps will be wrong.
They might also be wrong if the file has travelled across different platforms.
Norton Utilities can fix this problem while checking a volume, while utilities such as FileTyper, File Buddy and MacDater allow you to change the created and modified dates to whatever you want.