Converting a date formated as DD/MM/YYYY to seconds spent from 01/01/1970?

Posted by baltusaj on Stack Overflow See other posts from Stack Overflow or by baltusaj
Published on 2010-05-05T09:49:41Z Indexed on 2010/05/05 9:58 UTC
Read the original article Hit count: 149

Filed under:
|

Following command converts date formated as MM/DD/YYYY to seconds.

date -d "01/21/2014" +%s

How can I convert DD/MM/YYYY formated date to seconds?

Thanks

© Stack Overflow or respective owner

Related posts about linux

Related posts about date