Quote:Original post by Nice Coder
Its the first thing i thought of. Great minds think alike, eh?//In initmonth[0] = 31month[1] = 28month[2] = 30month[3] = 31month[4] = 30month[5] = 31month[6] = 30month[7] = 31month[8] = 30month[9] = 31month[10] = 30month[11] = 31// ...
This should be right. (i'm typing it strait into the box, so there might be a few errors).
// Made it more accurite
From,
Nice coder
Oups.... I believe this should be
month[0] = 31;month[1] = 28;month[2] = 31; // march is 31 daysmonth[3] = 30;month[4] = 31;month[5] = 30;month[6] = 31; // july is 31 daysmonth[7] = 31; // august is 31 days toomonth[8] = 30;month[9] = 31;month[10] = 30;month[11] = 31;
Regards,