Convert text to date in Fusion variable | Adobe Higher Education
Skip to main content
Level 9
July 18, 2023
Répondu

Convert text to date in Fusion variable

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

Ce sujet a été fermé aux réponses.
Meilleure réponse par ChrisStephens

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

1 commentaire

ChrisStephens
Community Advisor
Community Advisor
July 19, 2023

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

ChrisStephens
Community Advisor
Community Advisor
July 19, 2023

Tested, that should work.

NickVa7Auteur
Level 9
July 20, 2023

Wonderful, thanks Chris!!