Get Unix time seconds from regular one format

To get Unix time seconds from regular one format just use:

1
date --date="Wed Aug 22 07:51:04 UTC 2007" +%s

where

1
Wed Aug 22 07:51:04 UTC 2007

is input regular time. The output will be:

1
1187769064.