Re: Date Formatting Problem
generally
Quote:
The DateTime value type represents dates and times with values ranging from 12:00:00 midnight, January 1, 0001 Anno Domini (Common Era) through 11:59:59 P.M., December 31, 9999 A.D. (C.E.)
so implement at your function to convert 03 to 2003, or may be 1903
:)
Re: Date Formatting Problem
I think u can use String.Format()
Re: Date Formatting Problem
The format what you are using is correct.
Try This
DateTime dt = DateTime.Now;
string stemp=dt.ToString("MMMM dd yyyy");
Regards
Ravi.Battula