Hello All
Here is my problem :
I have 3 variables
1. month
2. year
3. day
all three of those variables have numeric values for example
month = 04
year = 89
day = 17
I want to display it like this : 17 Apr 1989
Here is what I've tried
DateTime date = new DateTime( year, month, day );
lblDate.Text = String.Format( "{0}", date.ToString( "dd MMM yyyy" ) );
Output is :
17 Apr 0089
How can I correct the years so that it is 1989?
Thank you
:)