// Many options with Intl.DateTimeFormat const formatter = new Intl.DateTimeFormat('en', { hour12: true, hour: 'numeric', minute: '2-digit', second: '2-digit' }); formatter.format(new Date());