strftime/Readme.md
2010-11-11 13:24:42 -08:00

26 lines
447 B
Markdown

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](/samsonjs/strftime/blob/master/LICENSE))