Trending News
Promoted
liberal_dude
Lv 6
Is there a UNIX command for converting a time-and-date to UNIX time?
I have found many ways to convert in the other direction (FROM UNIX time to time-and-date), but I need the outcome to be UNIX time. Thank you.
1 Answer
Relevance
- Anonymous1 decade agoFavorite Answer
date +"%s" -d "Fri Apr 24 13:14:39 CDT 2009"
1240596879
Source(s): http://en.wikipedia.org/wiki/Date_(Unix) Read also the man pages
Still have questions? Get your answers by asking now.