Convert text to date in Fusion variable | Community
Skip to main content
Level 9
July 18, 2023
Solved

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ChrisStephens
ChrisStephensAccepted solution
New Participant
July 19, 2023

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

3 replies

ChrisStephens
ChrisStephensAccepted solution
New Participant
July 19, 2023

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

Translate
ChrisStephens
New Participant
July 19, 2023

Tested, that should work.

Translate
NickVa7Author
Level 9
July 20, 2023

Wonderful, thanks Chris!!

Translate