r/programmingbydoing • u/zeex • Sep 16 '13
#103 Weekday Calculator
The formula in the instructions is not correct if you pass the year 2000 if I am not mistaken. You must include the century variable if the year is not 19xx.
3
Upvotes
View all comments
Show parent comment
2
u/kopytkopytko Apr 25 '14 edited Apr 26 '14
Hey, I think I need advice because I cant figure it out by myself. What's wrong with my code? It doesn't show the right weekday (automatic test is just one right and I think its just coincidence). BTW Thanks for the Java tutorial!
@edit Here's code: http://pastebin.com/vzJkZGuv