DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
days between two dates in Linux
echo $[(`date +%s -d 20120203`-`date +%s -d 20120115`)/86400]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#days
#dates
#Linux
ADD COMMENT
Topic
COMMENT
Name
3+8 =
Submit