|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Apr 15, 2002 1:34 am
Time predicting |
Working with a puzzle:
An event happens and it will be able to
happen again in 28 hours and 20 minutes.
It also means that another event will happen
in 42 hours and x minutes.
And finally another event will happen in 58
hours and 30ish minutes.
What is the easiest way to project the times
of this and report back when it will happen
next and the following cycle.
All I can think of is gregorian/julian date
converters. Convert to #######.######
gregorian date add the time then convert
back to Julian date.
Am I baked and thinking too complicate or?
Ton Diening |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Apr 15, 2002 4:14 am |
This might help, depends on what you want to do:
event1 will reoccur in %eval((%time(h)+28+((%time(n)+20)/60))/24) days at %eval((%time(h)+28+((%time(n)+20)/60))24):%if(%eval((%time(n)+20)60)<10,"0"%eval((%time(n)+20)60),%eval((%time(n)+20)60)
LightBulb
Vague questions get vague answers |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Apr 15, 2002 9:04 am |
That was what I was looking for.
Thanks LightBulb! I tend to forget that
method of extraction.
Ton Diening |
|
|
|
|
|