Updated – 2017-02-05

Setting the date and time on your computer is sometimes simply necessary. Below I will explain why. After the unjustified transition to summer and winter time was finally canceled in our country, setting the system clock became especially relevant. Thousands of users have never been able to reset their clocks, and all files are created with incorrect time formats. Some people may not care about this, but if you work with electronic documents, then there may be overlaps. Imagine that you send some file with a report to a higher organization, it arrives there, they process it, and suddenly it turns out that the file was created a day later from the date of creation of this file? In most cases, no one pays attention to this, but it happens that for some reason you have to prove that you created and sent the report on time, but in the file properties there is a completely different date. And this may not work in your favor.

Also for this reason, even an antivirus program can get confused and fail. Even so, you need to set the date and time on your computer. Sometimes this is quite easy to do!

Correction of date and time values ​​is usually done manually.

  • Open menu START - CONTROL PANEL - DATE AND TIME .

  • A dialog box will open Properties: Date and time .
  • Open the tab DATE AND TIME .

  • On the panel DATE select year, month, day .
  • On the panel TIME Using a three-section counter, set the current time accurate to the second. Each counter field (out of three) is specified separately.

If your computer is connected to the Internet, you can synchronize the time. To do this, go to the tab INTERNET TIME and check the box SYNCHRONIZE WITH AN INTERNET TIME SERVER .

Having purchased a new mobile gadget, users may encounter problems with incorrectly set time zones and the current date and time. However, it can be solved quite simply, and in this guide we will tell you how to set the date and time on a smartphone running Android.

To set the time on Android, you need to follow a few simple steps:

Step 1. Run Settings, go to the category " System and device" and select the section " Additionally».

Step 2. Click the button date and time».

Step 3. In the window that opens, you can set the time, change the date, select the format for displaying the time and date, set the time zone, and also set automatic receipt of settings.

You can also access the date and time settings in another way - through the application Watch:

Step 1. Launch the application Watch.

Step 2. Click the options button.

Step 3. Click on the button Date and time settings».

Why does the time go wrong on Android?

Date and time synchronization on Android smartphones can sometimes not work correctly, causing settings to crash. To fix this issue, you need to disable the " Network date and time" And " Network time zone", and then set the settings manually.

If the issue is not resolved, you should reset Android to factory settings and reset all settings.

Conclusion

NET TIME synchronizes a computer's clock with another computer or domain. When used without parameters in a Windows Server domain, displays the current date and time of day set on the computer that is designated as the time server for this domain. This command allows you to set the NTP time server for the computer.

NET TIME Command Syntax

  1. net time [(\\computer_name | /domain[:domain_name] | /rtsdomain[:domain_name])]
  2. net time [\\computer_name]
  3. net time [\\computer_name]], Where
  • \\computer_name - indicates the name of the server on which you want to check the time or with which you want to synchronize the timer.
  • /domain[:domain_name] - specifies the name of the domain with which the clock is synchronized.
  • /rtsdomain[:domain_name] - specifies the domain of the reliable time server (RTS) with which the clock will be synchronized.
  • /set - synchronizes the clock with the time of the specified computer or domain.
  • /querysntp - displays the name of the NTP (Network Time Protocol) server configured for the local computer, or the computer specified in the \\computer_name parameter.
  • /setsntp[:list_NTP_servers] - specifies a list of NTP time servers to use on the local computer.

NET TIME Command Examples

  • net help time- display help for the specified net command;
  • net time \\PC1- displaying the current time of the server on the network for computer PC1;
  • net time /querysntp- displaying the NTP server name for the local computer on the screen;
  • net time \\Proton /set- synchronize the local computer clock with the time of the Proton computer.

Net time system error 5 access denied

People often ask why "System error 5. Access denied" appears when using the Net time command. I answer, everything is in the rights of the user under which the command is launched. As an example, I tried to run the command first with local administrator rights to

    Modern operating systems of the Windows family provide the ability to automatically synchronize the local computer clock with the readings of a time server on the Internet via the NTP protocol ( N etwork T im P rotocol). In particular, the task scheduler provides for the standard task of time synchronization with an external source SynchronizeTime, which may have different settings in different versions of Windows OS.

In Windows 7, the task SynchronizeTime starts the Windows Time service according to a schedule:

As you can see, the task runs at 1 a.m. on Sundays every week, when most computers are turned off. But the setting Options- checkbox Run a task immediately if a scheduled run is missed in most cases, this means that the task actually runs the first time you turn on the computer on Monday (or other days of the week). Taking into account the meager traffic required for time synchronization via the NTP protocol and the meager consumption of computer resources, such a task could be performed, for example, every time the user logs in to the system by changing the properties of the “Start task” trigger:

Unlike Windows 7, Windows 8-10 already has 2 tasks that perform synchronization: SynchronizeTime And ForceSynchronizeTime. The first performs the same functions as discussed above and can be configured to run in the same way, ensuring synchronization when the user logs in.

Actions performed by a task SynchronizeTime can be viewed on the tab Actions.

As you can see, the task launches the system services management utility sc.exe, which runs Windows Time Service(W32Time). When the time service starts, the local computer clock is synchronized with the NTP server defined by the service settings (by default - time.windows.com). Settings can be changed with a command or by changing parameters in the registry key
HKLM\System\CurrentControlSet\services\w32time

In the key \Config there are parameters MaxNegPhaseCorrection And MaxPosPhaseCorrection specifying the maximum negative and positive deviation of the clock readings at which synchronization can be performed. Default value - 54000 (in seconds), i.e. 15 hours, which is the reason why the clock cannot be synchronized by the standard SynchronizeTime scheduler task, for example, when the date changes (deviation by more than 15 hours). Therefore, for reliable synchronization, regardless of the current readings of the computer’s hardware clock, it is advisable to increase the absolute value of the parameters MaxNegPhaseCorrection And MaxPosPhaseCorrection, or even set them to the maximum value for the DWORD type – 0xffffffff or 4294967295.

After changing the parameters like this MaxNegPhaseCorrection And MaxPosPhaseCorrection in the system registry, clock synchronization with the NTP server will be performed at any date and time values ​​on the local computer.

If desired, you can change the name of the NTP server with which synchronization will be performed (connect Parameters NTPServer parameter) either by editing the registry or using the w32tm command, in a command prompt run as an administrator:

w32tm /config /syncfromflags:manual /manualpeerlist:ru.pool.ntp.org /update- change the time service configuration to use an NTP server ru.pool.ntp.org and apply the changes made.

Many computer and laptop users very often complain that the time on their devices is constantly lost, so it has to be corrected periodically. Moreover, as practice shows, almost all of us face this problem sooner or later. Why is this happening? How to deal with this problem? We will tell you about all this right now.

Changeover between winter and summer time

Just a few years ago in our country, every autumn and spring we moved the clock hands back or forward one hour, respectively. However, then the government decided to cancel the transitions. But the Windows operating system, be it XP, Vista or 7, still automatically moves the clock hands!

On the Date and Time tab, select Change Time Zone....

In the window that opens, uncheck the box that says “Automatic switch to daylight saving time and back.” For more details, see the screenshot:

Synchronization with the server

There is a problem of a different nature. By default, operating systems are updated, which also affects the current time. In other words, as soon as you go online, the system automatically synchronizes with the server and automatically updates the time for your time zone. And since not all servers yet know that in Russia the clock hands no longer change, such a mess occurs.

The solution is very simple. Click on the clock again, click on “Change date and time settings...”, then select the “Internet Time” tab.

Click Change Settings. Uncheck the box next to “Synchronize with an Internet time server” and click OK. That's it, synchronization is now completely disabled.

Battery on motherboard

If you used the two methods described above, but it did not help you at all, then the problem most likely lies in the battery on the motherboard. Many will be surprised - a battery? Which one is this? In fact, this is a very important element of any computer or laptop.

This battery is necessary so that the system can store data on system settings, because otherwise, every time the PC is turned on, this data would be lost and then new settings would need to be created each time. Of course, this is incredibly inconvenient. The battery is very helpful in this regard, and its service life can be calculated in decades, although it usually lasts 5-8 years.

It is installed on the motherboard and it is very easy to find it yourself - just look at the board. Replacing it is also easy, but remember that this must be done strictly with the power of your PC turned off. This battery can be purchased at any store that sells computer components; it is inexpensive. After replacing, you should completely get rid of the problem.

Motherboard problem

Even if after replacing the battery the time continues to reset, then perhaps one of the elements of the motherboard has died. It is very difficult to figure out this problem on your own, since apart from “temporary difficulties” there are no problems, so we recommend taking the motherboard to a service center for diagnostics.

Any suggestions on the topic? Write!