C
Curious
Hi,
I have a class that has some fields. One of the fields is of type
DateTime. From the constructor of the class, I am passing
DateTime.Now; The value being stored is the following: 01/01/0001
00:00:00
Thats not the correct date and time.
Then when I try Console.WriteLine(DateTime.Now), the correct date and
time is given.
Can someone help me figure out the problem
Thanks in Advance
I have a class that has some fields. One of the fields is of type
DateTime. From the constructor of the class, I am passing
DateTime.Now; The value being stored is the following: 01/01/0001
00:00:00
Thats not the correct date and time.
Then when I try Console.WriteLine(DateTime.Now), the correct date and
time is given.
Can someone help me figure out the problem
Thanks in Advance