I want to convert a user-provided date to a value of seconds since 1970.
For example, if my app is provided with the date, 5-MAY-2011 00:00:00 +0000
, then I want the timestamp 1304553600
(the number of seconds between that date and January 1, 1970).