> I know how to display Date only in the textbox . but How about the
> time ??? Can I put it into two separate textbox , but save in one
> datafield ? thanks a lot.
cbDevelopment,
I would recommend:
> txtDate.text=danyDate.ToShortDateString
> txtTime.text=dAnydate.toShortTimeString
Dim theDate As DateTime = CDate(txtDate.text) ' or DateTime.Parse
Dim theTime As DateTime = CDate(txtTime.text) ' or DateTime.Parse
dAnydate = theDate + theTime
Simply to guard against globalization problems.
Hope this helps
Jay
> How about:
>
[quoted text clipped - 10 lines]
>> time ??? Can I put it into two separate textbox , but save in one
>> datafield ? thanks a lot.
cbDevelopment - 31 Oct 2004 16:05 GMT
Excellent observation.
Thanks.
> cbDevelopment,
> I would recommend:
[quoted text clipped - 26 lines]
>>> time ??? Can I put it into two separate textbox , but save in one
>>> datafield ? thanks a lot.