Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

string to date in shell script

date -d '20121212 7 days'
date -d '12-DEC-2012 7 days'
date -d '2012-12-12 7 days'
date -d '2012-12-12 4:10:10PM 7 days'
date -d '2012-12-12 16:10:55 7 days'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #date #shell #script
ADD COMMENT
Topic
Name
3+3 =