Here's the txt file. Thanks!
-----Original Message----- From: Wagner, David --- Senior Programmer Analyst --- WGO [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 2:32 PM To: Scott, Deborah; [EMAIL PROTECTED] Subject: RE: Help with end-time start-time sorting problem What does your data look like? Always helpful in this area. Once we ave an understanding then the others would be relatively simple to accomplish. Wags ;) -----Original Message----- From: Scott, Deborah [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 12:26 To: [EMAIL PROTECTED] Subject: Help with end-time start-time sorting problem I have a txt data file that has several fields. Two of the fields are start time and end time (listed in epoch time). I need to write a perl program that finds (and prints) events that occur between midnight "last night" and "midnight tonight." First problem: The date for midnight "last night" and "tonight" will change each day, so this needs to be some kind of automatic date finder. Second problem: How do I find (and then list) only those events that occur TODAY. These events might start or stop at any time during the month. The events that I would list would include ANYTHING that includes "today." Some might start today and end today and last only an hour. Some might start two days ago and end next week. This txt file will also list events that have already started and stopped last month or will start in the future, so I have to make sure that these are NOT included in "today's" report. I know I'll finally hit on the right combination of "if statements" but if someone already has the answer (or if you like mathematical jigsaw puzzles like this one)-- I'd appreciate your solution. Thanks from a new subscriber! Scotty ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. ****************************************************************
аЯрЁБс >