HI - I have searched and searched on here for help in converting a date format. There is alot of very good help except I can’t find one that helps me. I have a date format of 12-Dec-22 and need it to read Dec 12, 2022. Before I was able to use something like this - {{date MyField “MM/dd/yyyy”}} as my date was yyyymmdd but obviously this wont work . There are about 5 other posts that I looked at and can’t seem to get anything to work.
I created the helper and for some reason I have to use {{[MyField]}} instead of {{MyFiled}} whenever I use handlebars but either way I am not getting any result. No errors either. hmmmmm
Quick question, what is the type of the data field? I would suggest to map to a date field in Data Mapper. In that case I would expect the custom pattern to work.
Quickly looked at it. Setting the Pattern for the three date fields to: “dd-M-yy” solved things on my end. Using {{date [balance as of] “MM/dd/yyyy”}} should format the date correctly. Although {{date [balance as of]}} is prob rendering the correct format already.
YAY!!! Thank you so much. Works perfectly now. So apparently all this time I was just not using the right ‘custom’ date format because I have never been able to get it to work.