Re: Comparing time

2001-06-01 Thread Peter Cornelius
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

Re: Comparing time

2001-06-01 Thread Christian Campbell
[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

RE: Comparing time

2001-06-01 Thread Wagner-David
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

RE: Comparing time

2001-06-01 Thread Hill, Ronald
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