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
To: [EMAIL PROTECTED] Subject: Comparing time 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 ? Can anyone help me to do the. I'm a beginner. Thanks

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

Comparing time

2001-06-01 Thread michiel
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 ? Can anyone help me to do the. I'm a beginner. Thanks in advance Michiel -