# windows-timestamp

> Create a Javascript Date from a Windows timestamp

Latest version **1.0.1** (published 2017-06-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install windows-timestamp
pnpm add windows-timestamp
yarn add windows-timestamp
bun add windows-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 | 1.0.1 |
| Published | 2017-06-23 |
| First published | 2017-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Andrea Franchini |
| Maintainers | andrea.franchini |
| Keywords | windows, timestamp, date |

## Links

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

## 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.1 (latest) — 2017-06-23
- 1.0.0 — 2017-06-23

## README

# Windows Timestamp :alarm_clock:

Function that create a JavaScript Date from a Windows Timestamp.

#### Installation

```
npm install windows-timestamp
```

## Usage

#### Parameter

Any valid windows timestamp. Accepts both strings and integers.

#### Example

``` javascript
const win_time = require('windows-timestamp')

let js_date = win_time('131461446367662144')

let js_same_date = new Date(win_time('131461446367662144').getTime())

let js_day = win_time('131461446367662144').getDay()
```

## Test

```
npm test
```

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