Page 2 of 2

Posted: Tue Aug 01, 2006 9:05 am
by RobertGonzalez
If your overall value is not changing that means that the two values fed to it did change or they are changing simultaneously and in the same increment.

Posted: Tue Aug 01, 2006 10:39 am
by NiGHTFiRE
well the two dates have 1 month apart from each other :/ so they dont change. one is 2006-09-01 15:47:31 and the other one 2006-08-01 15:47:31

Posted: Tue Aug 01, 2006 10:46 am
by JayBird
so why would you expect the difference between the dats to change :s

Posted: Tue Aug 01, 2006 11:00 am
by NiGHTFiRE
I thought that it would show how long it was untill that date.. So like now, it woudn't say 744 hours left. it would say a lower value.

Posted: Tue Aug 01, 2006 11:03 am
by JayBird
The difference between 2 dates that are 1 month apart, no matter what dates they are, will always be the same!?

Am i missing something?

Posted: Tue Aug 01, 2006 11:28 am
by RobertGonzalez
I was kinda thinking the same thing...

Code: Select all

3-2 = 1 ALWAYS...

Posted: Tue Aug 01, 2006 11:50 am
by NiGHTFiRE
Okey, i probably explained what i meant poorly. I've got one date that a membership should stop at. And one date where the membership starts at. I want so the member can see how long he has his membership untill it expires.

Posted: Tue Aug 01, 2006 12:14 pm
by RobertGonzalez
So the membership start date has nothing to do with your script. You want ENDDATE - NOW. Try that in your script logic and see what you come up with.

Posted: Tue Aug 01, 2006 12:16 pm
by NiGHTFiRE
lol, yeah pretty smart :P