# simply_date_time

> return object with individual value of : 'dt' : complete, 'year' : year, 'month' : month, 'ay' : day, 'h' : hours, 'm' : minutes, 's' : seconds

Latest version **1.0.6** (published 2021-02-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install simply_date_time
pnpm add simply_date_time
yarn add simply_date_time
bun add simply_date_time
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-02-05 |
| First published | 2021-01-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lpt |
| Maintainers | lptomas |
| Keywords | date, time, timestanp |

## Links

- npm: https://www.npmjs.com/package/simply_date_time
- npm.io page: https://npm.io/package/simply_date_time

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2021-02-05
- 1.0.5 — 2021-01-27
- 1.0.4 — 2021-01-27
- 1.0.3 — 2021-01-27
- 1.0.2 — 2021-01-27
- 1.0.1 — 2021-01-27
- 1.0.0 — 2021-01-27

## README

# 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

---
_Source: https://npm.io/package/simply_date_time · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
