I am looking to modify the date format from "mmm-dd-yyyy" (Nov-11-2019) using my existing code.
Here is the code snippet:
var timeStamp = data[i][timeStampappr];
var formatted = (timeStamp.getMonth()+1) + '/' + timeStamp.getDate() + '/' + timeStamp.getYear();
The current format is 11/11/2019 and I would like it to appear as Nov-11-2019.