Question/Problem
How to change the time on the controller?
Environment
Answer/Solution
Step 1: Put the RTC's IP in Putty and connect to the controller
Step 2: Login into the RTC as 'root'
Step 3: Check the date and time with date command
Type 'date'-This command will show the current date/time and time zone for the controller software

Step 4: If the date/time is not correct then modify the date/time with date command
Type 'date [YYMMDDHHMM.SS]'-This command updates the software clock with the date/time provided after date command
EX:date 2412051130will set the date/time to 2024 Dec 5 11:30 AM

Note: The time format is military format and this software time will automatically reset to the hardware time on next reset
Step 5: If the hardware time is wrong and you want to change the hardware time then use the following command to set the real-time BIOS clock.
Type 'rtc -s -hw'-If the RTC is in correct time zone with site
Type 'rtc -s -l hw'-If the RTC is in UTC time zone and is not set to site time zone
Here, the 'rtc' command updates the real time clock, '-s' command sets the time, '-l' command gets the local time on the 'hw' hardware clock.