Page 1 of 1

SUNSET_DATE_AND_TIME Variable

Posted: Thu Nov 06, 2003 4:38 pm
by PRIME
Hi Scott, here is a very subtle problem I have found :D



I have a task that uses the sytem time and sets it equal to the "next sunset date and time". However, the next sunset date and time does not change the next day unless I perform a + or -, for example SUNSET_DATE_AND_TIME + Days=0, Hours=00, Minutes=01, Seconds=00.

In other words, let's say the next sunset time is oct.6 at 5:00PM. But even three days later, the value of the next susnset time in the task remains at oct.6th, 5:00PM. Unless I perform a plus or minus on it as above.

I hope I'm eplaining it sufficiently. Let me know if you know what I mean. I can capture some screenshots if need be.



Thanks,

- John

Posted: Thu Nov 06, 2003 5:04 pm
by ScottBot
John,



I see what you mean. That's a side effect of the way the system determines which Time/Date values to update when the sunrise/sunset times change each day.



As a work-around, you should be able to use SUNSET_DATE_AND_TIME + Days=0, Hours=00, Minutes=00, Seconds=00.



Scott