Changing the System Time
Date and time are inextricably linked in Unix (FreeBSD 5.2)
Posted 29.08.2005 | Updated 23.05.2006 | Contributed by Andy Mallett


To change the system time you use the date command, of course. Just use it with the 24 hour clock..

date  0935

..changes the system time to 9.35am, without affecting the date. You get a confirmation from the system upon pressing [enter].

date  2050

..changes the system time to 8.50pm, etc..