So I'm attempting to make a program that simply counts up- seconds, minutes, hours, days, months, years- using a predefined main() system given by my instructor. To do this he's instructed that we use the "Date" class to call functions in the "Time" class, and have everything initialized by Main.()
However... mine's not working. It gets to a point where there should be no problem and throws an unhanded exception. I'm certain it has something to do with my initialization because when I use the 'debug' tool to look at the variables, despite having output the 'correct' time at least once to the exe window, I get the number "-858993460." Having spent almost sixteen hours on this one project- and with a due date 12 hours away- I'm at the end of my rope. I've used the textbook, the search function, google, this site- I can't figure out what to do. Can someone please help me...?