0.0.2 • Published 8 years ago

datetime-2-english v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

datetime-2-english

This node/js module produces a complete English sentence in which all numbers have been converted to words.

It exports a single function which takes a date object as its single parameter.

Usage

var converter = require('datetime-2-english')
var d = new Date()
var datestring = converter(d)

console.log(datestring)

Should produce output like twenty-four minutes past six in the evening on Sunday, February fourteenth, in the year twenty sixteen.