Hi everybody,
I have a problem with a date conversion. I wanted to get the day of the week
and the time corresponding to an amount of seconds since the beginning of
year 1970. I have used the Date::Manip module and the commands:
            $temp=localtime($elapsedtime);
            $day=&UnixDate($temp,"%a");
            $hour=&UnixDate($temp,"%T");
which gives me the right results but are _very_ slow. I would like to find
another way to do the conversion, which would be faster.I have tried to look
through the Date::Calc module but have found nothing.
Thanks for your help.
Denis Choquet

Reply via email to