in reply to Another Date related quest

Data

It's kinda hard to tell from your snippet (trying to figure out what's the base snippet is always a pain) because you haven't shown the loading of $OUTPUT. I'm not seeing much in here that is wrong. Have you tried breaking down your script even more? I'm thinking maybe this line

next if $sdate lt $flds[$DTE] && $flds[$DTE] lt $edate;

may not be doing what you want. Have you tried removing the guts of the script and just outputting $flds[$DTE] so you can see what's happening? If you're using CGI.pm, have you tried to "offline" debug it?

-derby