# get-date

> Get the current date and time JavaScript module.

Latest version **1.0.2** (published 2015-07-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-date
pnpm add get-date
yarn add get-date
bun add get-date
```

## 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.2 |
| Published | 2015-07-19 |
| First published | 2015-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ryan Burgess @burgessdryan |
| Maintainers | ryanburgess |
| Keywords | module, javascript, date, time, format, current, today |

## Links

- npm: https://www.npmjs.com/package/get-date
- Repository: https://github.com/ryanburgess/get-date
- Issues: https://github.com/ryanburgess/get-date/issues
- npm.io page: https://npm.io/package/get-date

## 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.2 (latest) — 2015-07-19
- 1.0.1 — 2015-03-18
- 1.0.0 — 2015-02-28

## README

Get Date [![npm version](https://badge.fury.io/js/get-date.svg)](http://badge.fury.io/js/get-date) [![Build Status](https://travis-ci.org/ryanburgess/get-date.svg?branch=master)](https://travis-ci.org/ryanburgess/get-date)
=============
 
## Install
```js
npm install get-date --save-dev
```
## Use
```js
var dateTime = require('get-date');

console.log(dateTime()); // current date

console.log(dateTime(true)); // current date and time
```
## Release History
* 1.0.2: Ability to just show year.
* 1.0.1: Initial release.
* 1.0.0: Initial release.
 
## Contributing
1. Fork it
2. Run `npm install`
3. Run Grunt watch `grunt watch`
4. Create your feature branch (`git checkout -b my-new-feature`)
5. Commit your changes (`git commit -am "Add some feature"`)
6. Push to the branch (`git push origin my-new-feature`)
7. Create new Pull Request## License
MIT © [Ryan Burgess](http://github.com/ryanburgess)

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