Problem with DateTime

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hello.

I have some basic problem:
I want to assign to my DateTime object date and time, I wrote:
DateTime d;

d = DateTime.Parse("01/05/2004 10:00:00");

But it assigns only date part (not both date + time).

What I'm doing wrong?
 
Back
Top