Sun11 - OK you are new to Foxpro.
Welcome to our community.
Well it is time that you learned how to check code using the TRACE window.
From within the VFP development environment if you want to BREAK code and automatically open the TRACE window you enter the code line SET SET ON
Then, when you run the FORM, etc. from the Command Window the TRACE window will open when that code it executed.
From there you can use the WATCH window to see variable values and/or you can manually execute code in the VFP command window to check the consequences.
Now, within the Calendar object's Change Event method you can put that code and see what you are getting with the TTOD() command.
One other thought is that the values from the Calendar object may not be 'seen' by the other methods, due to variable 'encapsulation' with forms, unless you:
1. Put the value into a Form property and retrieve it when needed (best approach).
2. Retrieve the value dynamically from the object itself in your method when needed.
3. You set a variable PUBLIC to contain the value.
NOTE to other Gurus - so as to prevent lengthy dialog on the term -- my use of the word 'encapsulation' is again my own terminology. It refers to variables not being automatically scoped across all methods within a form.
Let us know.
Good Luck,
JRB-Bldr