Search Results

Search: Posts Made By: itsjustme
2,014
Posted By jim mcnamara
work with this: date -d "Tue Oct 11 09:53:25...
work with this:

date -d "Tue Oct 11 09:53:25 2011" +%s
# or
string="Tue Oct 11 09:53:25 2011"
secs=$( date -d "$string" +%s )
echo $secs
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy