mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
447 B
447 B
strftime
strftime for JavaScript
Installation
npm install strftime
Usage
var strftime = require('strftime').strftime
console.log(strftime('%d-%m-%y %H:%M:%S')) // => 11-11-2010 13:24:17
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)