1. to Kat
- Posted by CenSe <cense at MAIL.RU>
Feb 04, 2000
-
Last edited Feb 05, 2000
Sorry bout the personal email Kat, that was an accident.
but the point still remains, your program will not realistically run for long
enough to be worried about the time() function messing up on you.
CenSe,
a member of the
ak-software
development team
http://ak-software.virtualave.net/
2. Re: to Kat
How thankful i am to you for pointing out my mistake. Here i was so
delusional, thinking this app that's been running for 2 weeks was actually
running, now i know it's been all in my mind.
Kat
----- Original Message -----
From: CenSe <cense at MAIL.RU>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, February 04, 2000 12:17 PM
Subject: to Kat
> Sorry bout the personal email Kat, that was an accident.
> but the point still remains, your program will not realistically run for
long enough to be worried about the time() function messing up on you.
>
> CenSe,
> a member of the
> ak-software
> development team
>
> http://ak-software.virtualave.net/
>
3. Re: to Kat
Kat:
Why can't you get time() and then append a number to it that represents
the month, day and year. That would be good beyond 24 hours
4. Re: to Kat
----- Original Message -----
From: Bernie Ryan <bwryan at PCOM.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, February 04, 2000 1:57 PM
Subject: Re: to Kat
> Kat:
>
> Why can't you get time() and then append a number to it that represents
>
> the month, day and year. That would be good beyond 24 hours
>
Because then i am useing the month, day and year and don't need a flat
timescale like time().
Kat
5. Re: to Kat
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM>
Feb 04, 2000
-
Last edited Feb 05, 2000
Hello,
Bernie Ryan wrote:
>Kat:
>
> Why can't you get time() and then append a number to it that represents
>
> the month, day and year. That would be good beyond 24 hours
Another option might be simply to check and see if the time()
function has reset yet or not.
-- Untested code:
constant seconds_in_day = 24*60*60
atom start_time, curent_time
integer num_of_days
num_of_days = 0
start_time = time ()
while 1 do
curent_time = time()
if curent_time > start_time then
-- Here would be the regular
-- subtraction to check the time.
else
num_of_days += 1
curent_time += (seconds_in_day * num_of_days)
-- Here would be the regular
--subtraction to check the time.
end if
end while
-- Please excuse any errors.
-- End Code
later,
Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com