Timezone sync issues can happen due to misconfigurations in time settings or problems with time synchronization services. These discrepancies can easily lead to missed or delayed trades, as they can make trades execute at the wrong time, which will affect profitability. Plus, incorrect timestamps in logs and trade data can certainly make it difficult to analyze strategies and track performance. Time-sensitive strategies can also fail if time sync issues take place, resulting in even more potential losses. Making sure that your trading environment is properly synchronized is essential for maintaining accuracy and optimizing overall performance.
So now you know why itโs so important to make sure you have accurate timezone synchronization! But how do we make sure everything works right? Simply follow the steps below:
Check Current Time and Timezone
1
Take a look at the bottom right-hand side of the screen. Right-click on the time and select Adjust date/time. This will show you the current date, time, and timezone settings. If the timezone isnโt right, you can also adjust it from this window.
Verify and Set Correct Time Zone
1
If you closed the menu from the previous step, right-click on the clock again in the taskbar and select Adjust date/time.
2
In the Time zone section, make sure the set region is your own. If itโs not right, you can change it by selecting the right time zone from the dropdown menu.
Synchronize Time with an NTP Server
Windows Server 2025 can use the Windows Time Service (W32Time) to synchronize with an NTP (Network Time Protocol) server. Hereโs how you can check if time synchronization is working:
1
Go ahead and press Windows + R to open Run. Then, type โcmdโ and press Enter to open the Command Prompt.
2
Now that youโre in Command Prompt, type the following command and press Enter to check the current time service status:
net start w32time
w32tm /query /status
- Thisโll show if the server is syncing time properly with a time source.
If time sync is not working or you want to reconfigure it:
1
This time, open Command Prompt as Administrator. To do that, search for โCommand Promptโ in the Windows search bar, then right-click it and select Run as administrator.
2
To force a time sync, use this command:
w32tm /resync
- Thisโll attempt to immediately sync the time with the default time source. If itโs successful, youโll see a message like โThe command completed successfully.โ
To configure the NTP settings (if needed):
1
Like the last time, youโve got to open Command Prompt as Administrator.
2
To configure the time source (for example, by using time.windows.com), run the following command:
w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /reliable:YES /update
- You can replace โtime.windows.comโ with any NTP server if you prefer a different one.
3
Now you just need to restart the Windows Time service to apply the changes. Toss these commands into Command Prompt and hit Enter:
net stop w32time
net start w32time
Ensure Time Service is Running
1
Off the bat, press Windows + R, then type โservices.mscโ and press Enter to open the Services window.
2
Find Windows Time in the list of services.
3
When youโve found it, right-click on Windows Time and select Properties.
4
Check that the Startup type is set to Automatic and the service is running. If itโs not running, all youโve got to do is click Start to enable it.
Open Windows PowerShell and Disable Cloudbase-init
Sometimes, the cloudbase-init service can interfere with time synchronization. To fix that, just follow these steps:
1
Time for a different program! Open Windows PowerShell as Administrator.
2
Copy and paste the following commands, and hit enter:
Set-Service -Name cloudbase-init -StartupType Disabled
Stop-Service -Name cloudbase-init
- This disables and stops the cloudbase-init service, which could fix your time syncing issues.
Restart the Server
After making the above changes, itโs always a good idea to restart your server. Thisโll make sure everything gets applied properly:
1
To restart your server, hit the Start Menu, navigate to Power, and hit Restart.
- You can also restart your server from the ChartVPS Portal. Simply log in, select your desired server, and click the Restart button!