When date/time on server is off, use "date" command as root to update.
#date [MMDDhhmm[[CC]YY][.ss]]
For example:
#date 0102030423
Above command will set the server time to Jan 02, 2023, at 03:04am.
Alternatively, server time can also be set the following way:
[root@catochar ~]# date +%D -s 2023-05-23
05/23/23
[root@catochar ~]# date +%T -s 17:59:00
17:59:00
[root@catochar ~]# date
Tue May 23 17:59:16 EDT 2023
[root@catochar ~]#