Hello @arkiboys ,
Thanks for the ask and using Microsoft Q&A platform .
I did try to play with the toDate function and though i was not successful , I know why its showing NULL in your case . Its expects a the input format as a parameter , which you are not passing . please read here
Quick snippet from the doc
toDate
toDate(<string> : any, [<date format> : string]) => date
Converts input date string to date using an optional input date format.
--------
I will try to get in touch internally with the SME’s , but now you can try the below work around .
concat(split(SourceFormat,'-')3,'/',split(SourceFormat,'-')2,'/',split(SourceFormat,'-')1)
Please do let me know how it goes .
Thanks
Himanshu
-------------------------------------------------------------------------------------------------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators