skyfather-data
v1.0.1
Published
[![Build Status][travis-url]][travis-url] [![MIT License][license-url]][license-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url]
Readme
skyfather-date
[![Build Status][travis-url]][travis-url] [![MIT License][license-url]][license-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url]
⬇️ Install
npm i webopenfather-date
🎨 Usage
const wofDate = require('webopenfather-date')
console.log(wofDate.format('Y-m-d H:i:s'))
console.log(wofDate.format('Y/m/d'))
console.log(wofDate.format('Y/m/d H:i:s'))
💡 param
| keywords | desc |
| ---- | ---- |
| Y | 年 |
| m | 月 |
| d | 日 |
| H | 时 |
| i | 分 |
| s | 秒 |
