Expand my Community achievements bar.

Do you have questions about the migration to Adobe Business Platform? Come join our upcoming coffee break and ask away!
SOLVED

Convert text to date in Fusion variable

Avatar

Level 10

Hi Fusion community,

Does anyone know if it's possible to convert a text value (10/1/2023) to a date, and then format it to be MM-YYYY?  Looking to do this in Fusion, but having trouble with my Set Variable module.

 

Thanks,

Nick

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I'm unable to test this, but does formatDate(parseDate(10/1/2023;DD/MM/YYYY);MM-YYYY) work?

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

I'm unable to test this, but does formatDate(parseDate(10/1/2023;DD/MM/YYYY);MM-YYYY) work?