PDA

View Full Version : Converting Gregorian Date to number of days in the year


C++
06-30-2009, 11:21 PM
Hi all, I have been working on this code all day and can't seem to really get a grasp on it. Essentially I need to calculate the number of days in the year when the user inputs a month (by name), day, and yearMy output would look something like this: