[Omaha.pm] converting dates

Richard Norton ranorton at cox.net
Thu Sep 9 17:44:22 CDT 2004


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 at 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 at mail.pm.org
> http://www.pm.org/mailman/listinfo/omaha-pm



More information about the Omaha-pm mailing list