# micro-timestamp

> Generate UTC micro-second timestamp in MySQL datetime format

Latest version **2.1.0** (published 2023-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install micro-timestamp
pnpm add micro-timestamp
yarn add micro-timestamp
bun add micro-timestamp
```

## 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 | 2.1.0 |
| Published | 2023-12-15 |
| First published | 2016-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ersun Warncke |
| Maintainers | ersun.warncke |

## Links

- npm: https://www.npmjs.com/package/micro-timestamp
- Repository: https://github.com/warncke/micro-timestamp
- Homepage: https://github.com/warncke/micro-timestamp#readme
- Issues: https://github.com/warncke/micro-timestamp/issues
- npm.io page: https://npm.io/package/micro-timestamp

## Dependencies (2)

- [moment](https://npm.io/package/moment.md) 2.29.4
- [microtime](https://npm.io/package/microtime.md) 3.0.0

## Recent versions

- 2.1.0 (latest) — 2023-12-15
- 2.0.0 — 2021-04-03
- 1.0.0 — 2018-11-11
- 0.1.37 — 2018-01-15
- 0.1.36 — 2017-12-20
- 0.1.35 — 2017-12-18
- 0.1.34 — 2017-12-01
- 0.1.33 — 2017-11-13
- 0.1.32 — 2017-10-12
- 0.1.31 — 2017-10-11
- 0.1.30 — 2017-10-06
- 0.1.29 — 2017-10-04
- 0.1.28 — 2017-09-19
- 0.1.27 — 2017-09-10
- 0.1.26 — 2017-09-04
- … 20 more at https://npm.io/package/micro-timestamp/versions

## README

# micro-timestamp

    const microTimestamp = require('micro-timestamp')
    // "2018-11-11 11:11:11.111111"
    microTimestamp()

Returns a UTC micro-second timestamp in MySQL compatible format using the
[microtime](https://www.npmjs.com/package/microtime) module.

If the system timezone is not set to UTC offset will be applied to return
correct UTC time.

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