View Single Post
Javascript Date Object
Old
  (#1)
Brainz
Member
 
Brainz's Avatar
 
Status: Offline
Posts: 270
Join Date: Jun 2004
Location: Nottingham, UK
Default Javascript Date Object - 24-07-2007

I've got a question for you all:

Why is January month 0?

The javascript Date object is the only place I've encountered this, and frankly it makes no sense.

The first of the month is day 1, so why can't the first month also be month 1?
  
Reply With Quote