This article will guide you through setting the date and time on Centos 6
Log into your server
Check the current date/time by running:
date
If the server date or time is incorrect you can set the current date/time by running:
date -s "YYYY-MM-DD HH:MM:SS"
for example:
date -s "2025-01-16 08:43:00"
You can verify your changes by running the date command once again.