Difference between pages "Date" and "File ExtensIons"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
(set the date and time)
 
imported>ThorstenStaerk
 
Line 1: Line 1:
[[date]] is a [[command]] to show or set the current system date and time.
+
#REDIRECT [[File extensions and how you open the files]]
 
 
Examples:
 
* show the date
 
date
 
Fri Apr 17 13:21:55 EDT 2009
 
 
 
date --rfc-3339=date
 
2012-03-14
 
 
 
* set the date; in this example to april-20, 2009
 
sudo date -s 20090420
 
 
 
* set the date and time
 
sudo date -s "2012-10-19 10:20:59"
 
 
 
= See also =
 
* [http://man-wiki.net/index.php/1:date dAte's man page]
 
 
 
[[Category:Command]]
 

Latest revision as of 06:32, 1 February 2013