What to do after year 2559?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Dalai
Power Member
Power Member
Posts: 9385
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

What to do after year 2559?

Post by *Dalai »

I know the topic title is a bit vague, maybe it even sounds like a spam thread at first glance. Let me explain.

While playing around with some custom columns I noticed that TC doesn't show dates beyond the year 2559 although I was sure and confirmed the dates I fed to TC were beyond that year, e.g. added a message box to one of my WDX plugins, and consulting other applications.

Here's how to reproduce the behavior I observed:
  1. Create a file in TC, e.g. with Shift+F4
  2. Get NirSoft BulkFileChanger (BFC)
  3. Open BFC and open the newly created with F2 (Add Files)
  4. Select the file in BFC and then press F6 to open the "Change file time /attributes" dialog
  5. Enable the checkbox "Modified" and set the date to 31.12.2559 and click the "Do it" button
  6. Check date/time of this file in TC, you'll see the correct date
  7. In BFC, press F6 again and set the Modified date to 01.01.2560 and confirm the changes
  8. Back in TC, check the date, you'll notice it shows 01.01.2559
It's funny that changes to day and month are shown correctly, only the year is wrong.

The only thing related I could find is the thread NewTimeZoneMethod bug where Ghisler stated that
https://www.ghisler.ch/board/viewtopic.php?p=332882#p332882 wrote:SystemTimeToTzSpecificLocalTime crashes when the year is >=2559. I will therefore not call this function when the year is that high.
OK, that explains the observed behavior. But I cannot confirm any crashes or other weird behavior when calling this function. It worked everytime I tested this, be it on Win2k, WinXP (SP3) or Win7 (SP1). Actually, I tested the year 3015 because that's the value my WDX plugin returned to TC, but I don't think that's relevant considering Ghisler's explanation quoted above.


Now I'm aware that this topic is rather academical (hence I didn't post it in bug reports section) because who knows if mankind is still around, and using TC - or even computers at all - when the time comes, but I'm a fan of showing correct values/output nonetheless.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Stefan2
Power Member
Power Member
Posts: 4153
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: What to do after year 2559?

Post by *Stefan2 »

 
That will be fixed latest with Total Commander v571.50a




But will also need Windows ver. Monolith Cloud 23 or 24

 
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: What to do after year 2559?

Post by *Horst.Epp »

And the TC license will still be valid :)
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
Dalai
Power Member
Power Member
Posts: 9385
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: What to do after year 2559?

Post by *Dalai »

:lol: Nices ones.

All jokes aside, let's see if Ghisler has something serious to say about it. Maybe he finds out that TC can live beyond year 2559 after all ;).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: What to do after year 2559?

Post by *ghisler(Author) »

Don't worry, China, Russia and the US will have nuked the world long before that year. /s
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9385
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: What to do after year 2559?

Post by *Dalai »

Well, is it worth to investigate again whether or not it makes sense to limit the year at all? I mean, despite the fact that none of us will live that long...

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply