Skip to content
RED SAG Skills
hard20 pts · first answer countsjavascriptdates-and-timezones

Birthday shows one day early

A user’s birthday comes from the API as "2026-03-10". In a browser set to America/New_York, what does this print?

const d = new Date('2026-03-10')
console.log(d.getDate())
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions