DateTime formatting 3 letter month
The code below returns the date in this format - 21-03-2014. We need it to return the date in this format - 21-MAR-2014. Three letter text designation. Current time would be nice but not critical. What changes need to be made? function onOpen() { var ui = DocumentApp.getUi(); // Or FormApp or SpreadsheetApp. ui.createMenu('Custom Menu') .addItem('Insert Date', 'insertDate') .addToUi(); } function insertDate() { var cursor = DocumentApp.getActiveDocument().getCursor(); if (cursor) { // Attempt to insert text at the cursor position. If insertion returns null, // then the cursor's containing