1.0.6 • Published 3 years ago

simply_date_time v1.0.6

Weekly downloads
8
License
ISC
Repository
-
Last release
3 years ago

nodejs Module : simply_date_time

Super basic and simply way to get some object with separated date and time values.

Useful to build costum data and time values.

This is based on https://usefulangle.com/post/187/nodejs-get-date-time - give him some credits

How to Use:

howto.js

const dt = require('simply_date_time');

const time = dt.simply_date_time();

const path_date = time.year +"-"+ time.month + "-" + time.day;

const path_time= time.h +"-"+ time.m + "-" + time.s;

console.log(path_date);

console.log(path_time);

console.log(time.ts);

Output:

2021-01-27

22-10-52

1611786856623

---notes npm version patch npm publish

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago