10-24-2023, 01:49 AM
Or set Date$="01-01-1980" and see when Windows sycns with the internet.
DATE$ function
|
10-24-2023, 01:49 AM
Or set Date$="01-01-1980" and see when Windows sycns with the internet.
10-24-2023, 02:32 AM
(10-24-2023, 01:49 AM)eoredson Wrote: Or set Date$="01-01-1980" and see when Windows sycns with the internet. If you go into the registry, hunt for: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\W32Time\TimeProviders\NtpClient. Right click on the SpecialPollInterval key, then click Modify. That's the time -- in seconds -- between when syncing happens. You can set the date for 01-01-0001, and it won't matter. In XXXXX number of seconds, you'll sync and reset the time, or else a vast majority of windows based software won't work properly anymore.
10-24-2023, 02:36 AM
If you want to disable time syncing, simply go into Firewall and Disable UDP port 123 -- that's the one which Network Time Protocol uses to connect and sync times with. (NTP Services)
I just usually click Windows->Search and enter UAC then move slider up or down.
For time disable I goto ControlPanel->date/time->internet and decheck synch. On a side note in Dosbox-X.conf config file I set: synchronize time = true to return host current time past midnight. because many time reports past system boot.
10-25-2023, 03:43 AM
SpriggsySpriggs I like your new avatar.
Um... to try to say something on topic, but I must have already. Feel lucky to be on Windows. Because any Unix will make it a PITA to change the time to try to fool something. Especially you can't be using a Linux distro like Arch Linux because "pacman" is very particular about GPG keys which have expiration dates and stuff like that. Gentoo with its "OpenRC" startup system likes ringing like a crow, "Clock skew detected!" and might give the user a hard time about setting the system clock "correctly". Now I put "correctly" in double-quotation marks like that because I do not have the system time set shown by Windows, Slackware and a couple of other operating systems. It is set to UTC which satisfies only Debian and whatever is based on it. The time is a few hours off but having to read the "later" time from some reports is sometimes annoying. :/
For certain purposes I might need to set the system date when it detects 01-01-1980 to 01-01-2079 and that date has arrived.
Where you have to reset the date to 2079 or earlier!? Of course I won't be alive then so I don't care... Plus some libraries won't detect past 2079 int. ƒpdt=v The overflow error will occur at 03:14:08 UTC on 19 January 2038. The problem exists in systems which measure Unix time – the number of seconds elapsed since the Unix epoch (00:00:00 UTC on 1 January 1970) – and store it in a signed 32-bit integer. So, therefore, is a reason why I would need to set the system date. https://en.wikipedia.org/wiki/Year_2038_problem More stuff about time bugs: https://en.wikipedia.org/wiki/Time_forma...and_65,536
10-25-2023, 12:13 PM
(This post was last modified: 10-25-2023, 12:16 PM by SpriggsySpriggs.)
I sincerely doubt any QB64 program made today will be useful enough to be still in use in the year 2038. Definitely not in the year 2079...
Tread on those who tread on you
10-25-2023, 11:53 PM
10-26-2023, 12:27 AM
Reminds me of local forums where people kept popping up and wanting advice on how to turn off or delete this and that in order to save storage space - for hard drives with a terabyte or more.
These people almost always showed up after days or a few weeks with a cry for help: "My system suddenly crashed. I do not know why. How can I save my data (No backup, of course. They are experts!)?". The world is full of experts, and they are not getting any less.
Alright: let's get weird on it and suppose this:
Code: (Select All) Year 292,277,026,596 |
« Next Oldest | Next Newest »
|