Hello,
i stuck on this.
i have date 01/07/2021 dd/MM/yyyy i need convert it to 2021-07-01.
whatever commands or time converter i am using i get 2021-01-07
Hello,
that worked. amazing
Thank you
Hi @PMM,
Sorry, I misread your current format. It is actually the 1st of July and not the 07th of January, my bad ๐
Try this instead:
formatdatetime(formatdateTime(split(outputs('Html_to_text_2')?['body'], '_')[3], 'dd/MM/yyyy'), 'yyyy-MM-dd')
Yes it is from same task ๐
but still i get yyyy-dd-MM
Hi @PMM,
Just to double check. Is this still the date you are extracting from the subject of an e-mail.
Discussed in this thread:
If so, try and use this directly after your split action:
formatdateTime(split(outputs('Html_to_text_2')?['body'], '_')[3], 'yyyy-MM-dd')
stampcoin
97
Michael E. Gernaey
70
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1