Time-setting software (2025/04/05) |
Windows standard time setting may not set the time for more than one day Time deviations in digital mode, such as FT8, are a problem! That's where I made the PythontimeAdjust.pywandtimeAdjust.pyProgram.
Once an hournic.nict.comSet the time with |
What is in timeAdjust.zip
timeAdjust.py |
Programs that run in the cmd window |
run_timeAdjust_admin.bat |
BAT file to run timeAdjust.py with administrative privileges |
timeAdjust.pyw |
Programs that run in the background |
TimeAdjust program to adjust NTP time.docx |
(printed) instructions |
Place the downloaded and extracted file in an appropriate location. I placed it at C:\Users\kueno |
timeAdjust_Ver0.2.zip
Download count: 1
5_
|
The program isPython(Python) programming language. The operation was checked on a Windows 11 computer.
python-3.13.0-amd64must be downloaded and installed.
|
Also, the Python modulentplibis required, so additional modules must be installed using the pip command.
C:\Users\kueno\AppData\Local\Programs\Python\Python312\Scripts>pip install ntplib
Collecting ntplib Downloading ntplib-0.4.0-py2.py3-none-any.whl.metadata (1.6 kB) Downloading ntplib-0.4.0-py2.py3-none-any.whl (6.8 kB) Installing collected packages: ntplib Successfully installed ntplib-0.4.0 [notice24.3.1->25.0.1 [notice] To update, run:.python.exe -m pip install --upgrade pip
|
run_timeAdjust_admin.batIf you execute thetimeAdjust.pywill start and set the time every hour.
 |
timeAdjust.pywin the background. Start the task scheduler.Creating Basic TasksSelect
 |
Enter a description of the task to be started and press "Next".
 |
Trigger.every dayand press "Next". |
Start Dateandintervalenter one day and press "Next". The default is fine because it can be changed later. |
DefaultStart of Programand press "Next".
 |
In the "Browse" section of the program/scriptpythonw.exeSpecify the installation location of With the addition of the argumenttimeAdjust.pywEnter
 |
Check Open the "Properties" dialog for this task when you click "Finish". |
Run with top level privileges.Check the Choose Windows 10 for configuration. |
Edit Triggerand then select
Start Taskindicates object of desire, like, hate, etc.At startup
Delay timefor 30 seconds. Set to
 |
Test the execution of the script Right-click on a task and selectExecution.Select
After the test is completed, the computer is restarted and you are done.
timeAdjust.pywis successfully executed, it will be placed in the same folder time_sync_log.txtPlease check the file "\".
[2025-04-05 10:58:34] Getting time from ntp.nict.jp... [2025-04-05 10:58:34] retrieved at: 2025-04-05 10:58:35.601018+08:00 [2025-04-05 10:58:35] ✔ Time synchronized to 2025-04-05 10:58:35. |
|
Mar. 31, 2025 April 06, 2025 |