devtool-albert

1.0.7 • Public • Published

format time

the tool used to format time to multiple timezones


How to use

dt -h

display help

dt time -n : print current system time
dt time 1713131113 : format and print

ftt + timestamp, timestamp support seconds and milliseconds.

you can use like this

ftt 1664506465

===>
receiveData:1664506465
localTimeZone: Asia/Shanghai
localTime:          2022-09-30T10:54:25+08:00
America/Chicago:    2022-09-29T21:54:25-05:00
America/New_York:   2022-09-29T22:54:25-04:00
America/Los_Angeles:2022-09-29T19:54:25-07:00
Canada/Central:     2022-09-29T21:54:25-05:00

or like this(the timestamp will be from clipboard)

ftt

====>
receiveData:1664506465
localTimeZone: Asia/Shanghai
localTime:          2022-09-30T10:54:25+08:00
America/Chicago:    2022-09-29T21:54:25-05:00
America/New_York:   2022-09-29T22:54:25-04:00
America/Los_Angeles:2022-09-29T19:54:25-07:00
Canada/Central:     2022-09-29T21:54:25-05:00

Readme

Keywords

Package Sidebar

Install

npm i devtool-albert

Weekly Downloads

4

Version

1.0.7

License

ISC

Unpacked Size

2.32 MB

Total Files

31

Last publish

Collaborators

  • albert666.pu