Dateformat a nodejs package for steven levithan's excellent dateformat() function modifications removed the dateprototypeformat method sorry folks, but extending native prototypes is for suckers. First, i am using a library written by steven levithan that helps with dealing with dates on the client side, steven levithan's date library the isoutcdatetime format is perfect for what i needed the isoutcdatetime format is perfect for what i needed. The js date object and the date formats in use haven't changed in the past few years, so why would the script that manipulates them datejs is absolutely the best js date library out there there's a few issues for it in github, but otherwise, it's perfect.
Clone via https clone with git or checkout with svn using the repository’s web address. A nodejs package for steven levithan's excellent dateformat() function table of contents module dateformat function dateformat (date, mask, utc, gmt) object dateformat i18n object dateformat masks module dateformat function dateformat (date, mask, utc, gmt). Just for documentation, you can add o substract days with the method setdateit does not matter if the number you pass to the method is greater than 31, it could be even a negative value.