A question came up a while back about the Calendar Control. For some reason you can't set the value through the containing form's OnOpen method, although DougP found you can use the OnLoad event. A second question arose that I didn't see answered; sometimes the date was exacly one day later than the system date.<br>
<br>
I've found that the Now function gives the correct date (in the calendar control) only in the morning. Once the system date moves to the PM, the calendar control shows the next day's date. However, the Date function works correctly AM or PM.<br>
<br>
Bug or Feature? You decide!
<br>
<br>
If anyone has noticed this difference showing up anywhere else or another way to load the calendar value, please post it. Thanks.
<br>
I've found that the Now function gives the correct date (in the calendar control) only in the morning. Once the system date moves to the PM, the calendar control shows the next day's date. However, the Date function works correctly AM or PM.<br>
<br>
Bug or Feature? You decide!
<br>
If anyone has noticed this difference showing up anywhere else or another way to load the calendar value, please post it. Thanks.