in reply to perl basic count days between two dates
And that is why its use is encouraged by the FAQ.