quote:
Originally posted by WDZ
This is the key sentence.
hmmm, so??? In fact, it should encourage you, making this the first board which integrates DST correctly!!
Seriously, there is nothing complicated with it.
Instead of storing 10am when DST is on, store 11am.
If DST is off then store 10am (as useuall):
And also remove the DST calculation for when the times are calculated when you view posts!...
When the posttimes are stored:
code:
posttime = "10:00"
IF DST = on Then
posttime = posttime + 1
End If
It is as simple as this....
In fact, all this makes that the calculation for converting the times to the localtime of the reader is made much simpler (and slightly faster, cause DST settings doesn't need to be looked anymore when people view threads).
(PS: the key sentence should be: you can't change dates/times in the past, unless you have the timemachine from professor Barabas -dutch people know what I'm talking about
-)