If you don't have access to the GUI apps to set the date, such as during an installation, it can be useful to set it using the terminal. This is easy as long as you remember the (somewhat unusual) order of the components of the date and time.
Use this command: date MMddhhmmyy
Where: MM is the month number dd is the day number hh is the hours (in 24 hour format) mm is minutes yy is the year (use yyyy if you prefer)
My latest blog post: A Different View: People whose ideas differ aren't bad, they just have a different view. (posted 2025-07-22). Warning: mysqli_connect(): (HY000/1040): Too many connections in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 52
Could not connect to MySQL: