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

Convert text to date in Fusion variable

  • July 18, 2023
  • 1 reply
  • 872 views

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.
Best answer by ChrisStephens

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

1 reply

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?

ChrisStephens
New Participant
July 19, 2023

Tested, that should work.

NickVa7Author
New Participant
July 20, 2023

Wonderful, thanks Chris!!