1.0.5 • Published 8 years ago
date-format-timestamp v1.0.5
date-format-timestamp
This package entends the Javascript Date object with the method Date.formatTimestamp() to return the current timestamp as a formatted string "YYYY-MM-SS HH:MM:SS.MMM"
Usage
require('date-format-timestamp')
console.log(new Date().formatTimestamp())