Vitux published a tutorial about changing the date and time in AlmaLinux and Rocky Linux.
Set Date and Time in AlmaLinux, CentOS and Rocky Linux
It is very important that your installed operating system has the correct date and time settings because many programs that run in the background (cronjobs) are executed at certain times and also log entries contain timestamps so that system events.
Set Date and Time in AlmaLinux, CentOS and Rocky Linux – VITUX