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
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