User Tools

Site Tools


informatica:linux:script

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
informatica:linux:script [2023/02/22 15:03] joseinformatica:linux:script [2023/10/10 18:11] (current) jose
Line 872: Line 872:
      
 ====== Date ====== ====== Date ======
- 
 http://www.cyberciti.biz/tips/linux-unix-get-yesterdays-tomorrows-date.html http://www.cyberciti.biz/tips/linux-unix-get-yesterdays-tomorrows-date.html
  
 +Formato fecha custom:  
 +  date +%Y%m%d_%H%M%S
 +  20190420_225307
 +  
 +  date +'%d/%m/%Y %H:%M:%S'
 +  10/10/2023 20:11:31
 +
 +  
   date --date='tomorrow'   date --date='tomorrow'
   date --date='1 day'   date --date='1 day'
Line 888: Line 895:
   date --date='10 month ago'   date --date='10 month ago'
   date --date='10 year ago'   date --date='10 year ago'
- 
-Formato fecha custom:   
-  date +%Y%m%d_%H%M%S 
-  20190420_225307 
  
 Pasar una fecha a unixtime: Pasar una fecha a unixtime:
informatica/linux/script.txt · Last modified: 2023/10/10 18:11 by jose