>Hi,
>
>How do you separate the date and time from the DateTime field so that each part (date and time) can be bound to a different control?
>
>E.g. I have a date pick control that I want to bind to the date part of the DateTime field. This one is simple.
>And I have another control, based on VFP spin control, that I can bind to a Time. And the Time would be in the format as HH:MM. But how do I get the Time portion from the DateTime field? So that when a user changes the time via the time pick control, it updates the DateTime field?
>
>TIA
You don't need to. As I said just use dtControl from FoxyCLasses.