mysqldate

JSON →
library 0.1.6 ·javascript maintenance
verified Jun 5, 2026

Extends JavaScript's Date prototype with methods to convert between Date objects and MySQL timestamp strings. Current stable version 0.1.6 (last released in 2015). Low maintenance, minimal API: toMysqlDate, toMysqlUTCDate, fromMysqlDate, fromMysqlUTCDate. Differentiator: monkey-patches native Date for no-import convenience; no dependencies. Not actively maintained, may need polyfills in modern environments.