I connect the ESP-12F to the Linux machine on USB0 port.
From Linux console login into ESP-12F.
$ picocom /dev/ttyUSB0 -b115200
Set the clock using MicroPython:
>>> import utime >>> import machine >>> time=(2021, 11, 21, 23, 42, 0, 6, 325) >>> machine.RTC().datetime(time) >>> utime.localtime() (2021, 11, 22, 18, 0, 11, 0, 326)
Time changed and the day as well. ~19 hours was added to the time I wanted. What did I do wrong? I do not want to synchronize, just to set.
I found the answer for my question.