1.0.10 • Published 7 years ago

timetran v1.0.10

Weekly downloads
1
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago