Get the Day Name from a specific Date

Hi peoples!

I’ve done a lot of research and I’ve tried to assemble a JavaScript code, but I couldn’t do that:

I would like to know how I could get the day name of a specific date.

Example:

Input: 2022/07/29
Output: Friday

Or something similar!

Thank you very much in advance!

Hey @Everton_Augusto,

As an expression you could use {{DateTime.fromFormat('2022/07/29', 'yyyy/MM/dd').toFormat('cccc')}} which will return Friday.

1 Like

It’s work fine! Thanks for your help, Jon!

1 Like