Al Do wrote:I am having a problem with a simple program that calculates the number of days between two dates input. It keeps returning zero and I have no idea why I have tried many different attempts with the daysBetween method.
Create a new program from scratch with no GUI stuff, no user input, nothing at all except the code to compute the difference between two hardcoded dates and print it out.
This will make it easier for you to
test, debug, and modify your difference calculation code without other distractions, AND it will serve as an
SSCCE(⇐click) that will make it easier for folks here to see what you're doing without unnecessary fluff if you need to post again for help.