[Orca-users] Re: epoch?

Blair Zajac blair at akamai.com
Sat Feb 17 09:37:24 PST 2001


At this point, Orca cannot handle times and dates where the time and
date information is listed in separate columns, as in the example you
give below.  The solution to this is to preprocess the data file
to convert the time into the epoch time.

Use the Date::Parse module to do this that is in TimeData available
on CPAN:

    use Date::Parse;
    $timestamp = str2time($date);

Regards,
Blair


fredrik.johansson at att.se wrote:
>
> Hi!
> 
> I have a input file with date format like 2000-jul-01 00:09:45.
> But orca can't handle that (what I know).
> So, I wonder if someone of you can help me with that?
> How can I take a string and turn it into epoch seconds?
> 
> Thanks in advance!
> Fredrik



More information about the Orca-users mailing list