dateformat
Node.js package for Steven Levithan's excellent dateFormat() function
dateformat is a Node.js package for formatting JavaScript dates through readable, reusable mask strings. It adapts Steven Levithan's dateFormat function for module-based Node.js usage without extending the native Date prototype. Developers can build formats from tokens representing days, months, years, hours, minutes, seconds, milliseconds, time zones, and ordinal suffixes. Several predefined masks cover common formats ranging from short dates to ISO date-time strings. Custom masks can be...