you create a Date object via the Date() constructor by passing to it year, month and day (more info: https://developer.mozilla.org/en-US/...l_Objects/Date
The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
André Behrens, NY Times Software Developer