in reply to Turn date string into timestamp?
If convenience is more important than size (Date::Manip is about 240k of Perl code), you could do
use Date::Manip; my $time = UnixDate('2007/07/17 13:21', "%s"); print "time=$time\n"; # 1184671260 [download]