Hello everyone, I'm fairly new here and have a hopefully quick question for you.
I'm currently writing a program where the user is able to enter in a date that can be anytime within the last 5 years and anytime in the future. What I need to do with this user-supplied date is confirm whether it is a friday or not. So if the user gives me 10/15/2008, I need to be able to tell if October 15th of 2008 is a friday.
So far I've determined that localtime can provide me this information with the wday array index, however I'm not sure how to have localtime work with a date other then todays date. Any help would be appreciated.