date-format Extend the Date(prototype) object. Usage var d = new Date('2015-5-21') format var n = d.Format('YYYY-MM-DD') // 2015-05-21 var e = d.Format('YYYY年M月DD日') //2015年5月21日 License MIT