How can one get a date in the following format?
"Mon, May 2, 2016"
I have a function called formatDate(day, month year)
I want to call it like this
formatDate(2,5,2016)
and get the previous string.
I would also like to know how to get a date in the following format:
May 2016
I would like to call it like this:
formatMonth(2,5,2016)