http://www.perlmonks.org?node_id=935390


in reply to How to read last lines from file?

How about using Time::Local to convert the date to unix timestamp.