Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Latest commit

 

History

History
9 lines (8 loc) · 301 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 301 Bytes

npm package to display the Imperial date (Warhammer 40,000) for a given Date object.

var imperialDate = require('imperial-date');
var dateString = imperialDate(new Date());
console.log(dateString);

Output: 0 530 016.M3