Hi. Sorry for harping on about the same bit of code as others have.
In my version of the dateTime code I am getting an error "DateTime" is a namespace but is being used like a 'type' on the 2 lines that mention DateTime (in the code for the UpdateTimeInfo method).
private void UpdateTimeInfo()
DateTime myTime = new DateTime();
myTime = DateTime.Now;
DateTime newYears = new DateTime(myTime.Year, 12, 31);
I have now downloaded the code from the Wrox site but still get this error. I am using 2010 express.
What am I doing wrong please?