package
Return the current date in CLF format
npm install clf-dateGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
4.7 kB
Includes dependencies.
Return the current date in CLF format: %d/%b/%Y:%H:%M:%S %z.
npm install -g clf-date # or yarn global add clf-date
# Without parameter
clf-date
# With parameter (everything which works with Date.parse)
clf-date 2042npm install clf-date # or yarn add clf-dateconst clfDate = require('clf-date');
// Without parameter it will use the current time.
console.log(clfDate());
// With a Date in parameter.
const date = new Date();
date.setFullYear(2042);
console.log(clfDate(date);Don't hesitate to create a pull request to improve the project.
If you find a bug or want a new feature, dont'hesitate to create an issue.