I'll be interested in any other solutions people have because I've got this
going in a couple of programs now... Check out Time::timelocal(). It allows
you to pass inthe results of localtime and bet back the seconds since the
epoch. Since the results of localtime are things that you can actuall
[EMAIL PROTECTED] wrote:
> I try to write a program that will executes a command on a specific time
> inputted by a user. I don't know how you can compare the time of the user
> with the computer clock ?
>
> Can anyone help me to do the. I'm a beginner.
FWIW, if you are on a unix system, you mig
Unsure what you are really after? Some more info, like are they
entering: 01 Jun 2001, 15:15 as the time to do the processing or 30 min to
run in 30 minutes?
Wags ;)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 04:19
T
Hi,
I try to write a program that will executes a command on a specific time
inputted by a user. I don't know how you can compare the time of the user
with the computer clock ?
[snipped]
How can I compare two dates and find the difference?
If you're storing your dates as epoch se