in reply to convert it to unix time stamp

Try Date::Parse:

perl -MDate::Parse -e "print str2time('20th feb 2014, 23:59:00');" 1392937140

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»