C
Claudia Fong
Hi,
I need to add one to the current year so the year would be 2006.
I'm using the code below and I put this code before the
InitializeComponent()
next_year and current_year are declare as int.
current_year = DateTime.Now.Year;
next_year = current_year + 1; ---> the result of this is still 2005
instead of 2006
Is there any problem with this code?? It should work...
Cheers!
Claudi
I need to add one to the current year so the year would be 2006.
I'm using the code below and I put this code before the
InitializeComponent()
next_year and current_year are declare as int.
current_year = DateTime.Now.Year;
next_year = current_year + 1; ---> the result of this is still 2005
instead of 2006
Is there any problem with this code?? It should work...

Cheers!
Claudi