Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Set Date from Terminal

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)




Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 11

Warning: mysqli_connect(): Error while reading greeting packet. PID=85096 in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 11

Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 11

Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 12
Could not connect to MySQL: