JavaScript Thinks January Is Labeled 0

| Comments

Today I learned that, contrary to some other programming languages I'm used to, JavaScript uses the number 0 to represent the month January, when working with dates. You probably already know that, but maybe this blogpost will save a life somewhere. Or at least save you from some debugging hours.