I'm using Java, but any basic algorithm will do. I'm using an object Date with three private members, all integers, two-digit month, two-digit day, and a four-digit year[mm/dd/yyyy]. </div>