DateTime driving me nuts

  • Thread starter Thread starter Simple Simon
  • Start date Start date
S

Simple Simon

Hi,
I have this: 7/28/2003 3:41:57 PM in a datetime column in
Sql2000...When I read it in, and Convert.ToDateTime, I loose the time.
I need to compare the date AND time in my application.

Help? TIA - Gordon
 
nm...i found the problem...i was formatting the string later as {0:d}
instead of {0:G}...duh!
 
Back
Top