1.0.10 • Published 6 years ago

timetran v1.0.10

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Usage

const time =require("timetran")
console.log(time.timeTran("1514739661000"));  /*=> 2018-1-1 01:01:01 */
console.log(time.timeTran("2018-1-1 01:01:01"));  //=> 1514739661000

API

timeTran(str) The method accepts a parameter, a timestamp or a commonly used event format (2018-1-1 1:1:1, 2018/1/1 1:1:1), which is automatically converted to the corresponding event stamp or standard. Event format。

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago