in reply to Help sorting dates
When you say "timestamp," can imply that these are going in a database? If so, lots of built-in SQL functions.
If not, ignore.
FWIW, I use Date::Calc