RE: time calculation

2002-03-19 Thread Hanson, Robert
Like Timothy said, you didn't give enough info. Check out the perldoc for localtime first to see if that solves your problem, and if not please post a code example. You can get the localtime docs by either typing the following from the command like or navigating to the perlfunc manpage in your H

RE: time calculation

2002-03-18 Thread Timothy Johnson
Where are you getting the hours from? A file, localtime(), etc.? -Original Message- From: Mariusz To: perl Sent: 3/18/02 10:56 PM Subject: time calculation What's the best way to find the difference in hours between $checkin_time and $checkout_time? I thought each hour from 12am throu