I am binding a date/time value from an Access database thru a
datatable/dataview to a label on a VB2005 form, it's bound like this:
lblDOB_CH.DataB indings.Add("Te xt", dvMembers_CH, "DOB")
I want to display the date only part of the data in mm/dd/yyyy format. I
cannot seem to find a way to format the contents of the label to be only the
date. It shows like this: mm/dd/yyyy 12:00:00 AM.
Does any one know of a way to strip off the time from this date to display
in the label?
Thanks
Gary
datatable/dataview to a label on a VB2005 form, it's bound like this:
lblDOB_CH.DataB indings.Add("Te xt", dvMembers_CH, "DOB")
I want to display the date only part of the data in mm/dd/yyyy format. I
cannot seem to find a way to format the contents of the label to be only the
date. It shows like this: mm/dd/yyyy 12:00:00 AM.
Does any one know of a way to strip off the time from this date to display
in the label?
Thanks
Gary