I agree with your array (or a similar idea).
Here's a hint: using your array as you defined it, March 5 would be:
months[0] + months[1] + 5;
(That is, add all of January's days plus all of...
Type: Posts; User: Cat
I agree with your array (or a similar idea).
Here's a hint: using your array as you defined it, March 5 would be:
months[0] + months[1] + 5;
(That is, add all of January's days plus all of...
Well, you will need a function that takes day and month (possibly year as well if you want this to work correctly even in leap years).
Here's a question: how would you (not talking about code...