[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] converting dates



Wouldn't this work too?

print scalar localtime($ARGV[0] * 24 * 60 * 60),"\n";

On Thu, 9 Sep 2004 14:23:39 -0500, Terry <td3201@gmail.com> wrote:

I want to be able to take an number which is the # of days since
1/1/70 and convert it into a user-friendly date.

Like 12594 for example.

Date::Manip doesn't seem to have much love in this area....have any other ideas?
_______________________________________________
Omaha-pm mailing list
Omaha-pm@mail.pm.org
http://www.pm.org/mailman/listinfo/omaha-pm