Datetime date shift one day

amazon-alexa

#1

hi
i have some issue
async LAUNCH() {
const todayFormat = new Date().toISOString().split(‘T’)[0];

instead of display current date, it show me previous day.
on local, time is seems correct

any idea ?


#2

hi
i resolve this issue too

new Date().toLocaleString(“fr-FR”, {year:“numeric”,month:“2-digit”, day:“2-digit”});


#3

Thanks for the update! Closing this now :slight_smile:


closed #4