Hi - I am using a snippet with a variable data field for the date. I have it formatted as such in the text script - formatter.dateLong(field). This works fine and displays as January 1, 2022 if I use the field anywhere in the print section. However when I use the date field in a snippet it shows as Sat Jan 01 2022 00:00:00 GMT-0500 (EST).
How do I get the date in the snippet to read the same as it does in the document? My date format in the .csv file is 1-Jan-22?
Thank you