tm-timestamp
tm-timestamp - This is a utility package to get TimeStamp for datetime passed
Installation
"dependencies":
npm install tm-timestamp
Requirements
const utils = ;
TimeStamp Getter for Now
- To get a timestamp now
let datetime = timestamp;console; //1578312236075
TimeStamp Getter for Now
- To get a timestamp from a datetime
let datetime = "2020-02-3:1:30:10";datetime = timestamp;console; //1580526090010
Tests
Cli
npm installnpm test