Can linux *convert* date information on the command line?
I have the date as text or console input.
Can I convert it to Unix seconds in terminal? example IN: Tue Sep 11 08:46:40 2001 ---> OUT: 1000169200 |
Code:
a="Tue Sep 11 08:46:40 2001" |
Code:
#!/usr/bin/bash |
Quote:
|
All times are GMT -5. The time now is 11:59 AM. |