A
A
Alexander2018-04-21 17:13:40
Lua
Alexander, 2018-04-21 17:13:40

How to check if the date and time are automatic?

There is a switch in the OS settings that allows you to automatically receive the time and date from the servers.

Screenshot
5adb4703a5937759576373.png

Is it possible in Lua to detect if automatic time is enabled? If so, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alexalexes, 2018-04-21
@zkelo

Tap the Type parameter in the Windows registry:
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Values: NoSync - no synchronization is used, and NTP is used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question