I'm trying to use a variable Timestamp to transfer a date into the following date command:
Timestamp=Sep 17 16:07:21 2014
Timestampdate=$(date -d $Timestamp +%s)
to get the date in seconds, but I can't get the syntax correct around the $Timestamp
variable. Any help please?