Posts by Rafael • 1 point
1 post
-
-4
votes3
answers7601
viewsA: Get time and date independent of system time
const options = { timeZone: 'America/Sao_Paulo', hour: 'numeric', minute: 'numeric' }; const date = new Intl.DateTimeFormat([], options); console.log(date.format(new Date()));…