I am string dates in DateTime format by two methods.
One in which i use DateTime.Now and other in which i manually create a DateTime object and fill the day,yeay,month etc.
During debugging DateTime.Now shows
'2/14/2009 11:28:44 AM'
And in manualy created DateTime object it shows
'2/14/0009 11:50:39 AM'
Both are exactly same ! (some diff due to diff times of degugging)
But when I use DateTime.Now it works fine and when I use the other it shows this error
(The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
The statement has been terminated.)
WHERE AM I WRONG ????