good chemistry is complicated,
and a little bit messy -LW
Showing the time difference in a natural format?by skx (Parson)
|on Sep 21, 2008 at 21:12 UTC||Need Help??|
skx has asked for the
wisdom of the Perl Monks concerning the following question:
Many websites manage to show date differences in a "natural" format. With forum posts, comments, and similar things shown as:
I've written the following, but it is very naive, and I'm surprised there isn't a CPAN module I could find to do the job properly. Is there anything obvious I've missed, or even a better way to handle this type of problem?