FreeBSD : Data set and change

Display the date:

Simply type the date command to display the current date:

# date

Output:

Fri Mar  12 12:44:29 CST 2010

To set/change date:

To set the date, you need to simply use the date command followed by the year, month, day, hour, minute, and second … all numeric and no spaces.

To set the date with date command, you need to follow this format:

# date yymmddhhMMss

Possibly Related Posts:


Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>