mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
421 B
421 B
strftime
strftime for JavaScript
Installation
npm install strftime
Usage
var strftime = require('strftime').strftime
console.log(strftime('%D-%M-%Y %H:%M:%S'))
For details just see man 3 strftime as the format specifiers are identical.
License
Copyright 2010 Sami Samhuri sami.samhuri@gmail.com
MIT (see included LICENSE)