How do you format the date time to just date?
For example, this is what I retrieved from the database: 12/31/2008 12:00:00 AM, but I just want to show the date and
Format datetime to short date string and convert back to date
CDate(YourDate.ToString("d"))
Or use short date string
CDate(YourDate.ToShortDateString)