Monday, March 22, 2010

How to Set / Change Date in FreeBSD


You can type the simple  date command to display the current date:
# date
Output:
Fri Mar  02 11:32:43 IST 2010
How to  set/change date:
To set the date, you can use the date command followed by the year, month, day, hour, minute, and second … all numeric and no spaces.