I tried updating the time on hardware clock using hwclock -w and timedatectl both, but on every restart after shutdown the system clock resets itself.
Welcome to the Toradex Community.
Could you provide the version of the Software of your module?
A log of the entered commands and a bootlog would be very helpful.
How did you shutdown/restart the module? Is it a soft or hard reset?
Best regards, Jaski