save this snippit
barry@paragon-DS-7:~$ echo $(( ( $(date -ud '2016-10-25' +'%s') - $(date -ud '2016-02-10' +'%s') )/60/60/24 )) days
258 days
Beats the fuck out of using your fingers and your toes
bash - How to find the difference in days between two dates? - Stack Overflow