contact.birthDate is not in millis, but in ISO string, so this probably doesn't make sense. (it probably works because JS Date constructor understands the ISO string date also) .