To get this format 02-MAY-2013
I'm currently doing this:
moment().format('DD-MMM-YYYY').toUpperCase();
Is there a better way?
I'm aware that I could introduce some custom month abbreviations, but I currently only want to apply the formatting to this instance of the date.
Yep, that's the best way!
Thanks.
:/