- Apr 27, 2002
><sarcasm><---Sorry about that. :)
>Great subject, Ken. Very descriptive.
>What form is the date in the scalar? Is it a serial or a dateI'm extracting using the usual method:
>formatted to mm/dd/yy?
and then formatting in various ways in order to build HTML. Then, I'm
building yesterday's date with:
$yesterday = time() - ( 24 * 60 * 60 );
The logfile I'm wanting to parse has multiple lines, each in the format below:
04/25/02 , 10:22:22 , 50.0, F , 99.99, MPH, South ,180.0 , 0
>I can't give you much more without some code. Can youThe code is a bit much to post line-by-line. I've attached the
>show what you tried so far? And what is in the scalar?
file...zipped of course :)
It's not the most elegant and it's far from done. I've been working on HTML
formatting in the code as well, but that's an easily ignored issue, as my
main problem is the log parsing for lines with yesterday's date.
If you need, I can explain what I am trying to do (if you can't figure it
out from the code <g>).
Thanks in advance,
[Non-text portions of this message have been removed]
- << Previous post in topic