User Tools

Site Tools


date

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
date [2013/10/07 17:51]
ginko [Examples]
date [2013/10/07 18:18]
ginko [Examples]
Line 4: Line 4:
   * Ne pas oublier le "​+"​ avant la chaine de pattern!   * Ne pas oublier le "​+"​ avant la chaine de pattern!
 ==== Examples ==== ==== Examples ====
-Afficher le numéro de semaine: ​<code bash>​date +%V</​code>​ +<code bash># Numéro de semaine:  
-<code bash>+date +%V 
 # AAAAMMJJ # AAAAMMJJ
 > date +%Y%m%d > date +%Y%m%d
Line 12: Line 13:
 # HHMMSS # HHMMSS
 > date +%H%M%S > date +%H%M%S
-175019</​code>​+175019 
 + 
 +> date "+%D %T" 
 +10/07/13 18:18:01 
 +</​code>​
date.txt · Last modified: 2014/12/07 14:49 by ginko