| javascript Programming Glossary: f.replaceGet Locale Short Date Format using javascript http://stackoverflow.com/questions/2388115/get-locale-short-date-format-using-javascript  MM dd yyyy function z s s '' s return s.length 1 s '0' s f f.replace yyyy y f f.replace yy String y .substr 2 f f.replace MM z m.. z s s '' s return s.length 1 s '0' s f f.replace yyyy y f f.replace yy String y .substr 2 f f.replace MM z m f f.replace M m f f.replace.. s f f.replace yyyy y f f.replace yy String y .substr 2 f f.replace MM z m f f.replace M m f f.replace dd z d f f.replace d d return.. 
 How do I format a Javascript Date? http://stackoverflow.com/questions/986657/how-do-i-format-a-javascript-date  f var nm this.getMonthName var nd this.getDayName f f.replace yyyy g this.getFullYear f f.replace yy g String this.getFullYear.. nd this.getDayName f f.replace yyyy g this.getFullYear f f.replace yy g String this.getFullYear .substr 2 2 f f.replace MMM g nm.substr.. f f.replace yy g String this.getFullYear .substr 2 2 f f.replace MMM g nm.substr 0 3 .toUpperCase f f.replace Mmm g nm.substr.. 
 |