Hi everyone,
I am trying to write a program for a class but I cannot seem to figure out how I can convert a date in the format mm/dd/yyyy to separate int values. I.E. m+m+d+d+y+y+y+y. I've got the rest of the program written, but I cannot seem to figure this little part out. The part I am having trouble with is separating the slashes out of there. Thanks in advance!
Nick
stupidenator 0 Junior Poster
Narue 5,707 Bad Cop Team Colleague
stupidenator 0 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
stupidenator 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.