I want to use dateFormat to get month and date. For example, I want to create date 05-03 (MM-DD format). The "MM" gives correct month but "DD" returns 01.
Hi Thao,
I am able to get the current date as well as reformat an inputted date into your required format of MM-DD using the dateFormat expression. You can see both examples in the screenshot in my playground. I also included the handlebar expression's I used. The first just converts the current date time. The second converts and inputted date that is coming in as "YYY-MM-DD". Let me know if this helps!
{{dateFormat "MM-DD" (timestamp)}},
{{dateFormat "MM-DD" "2023-05-10" "YYYY-MM-DD"}}