Socket
Socket
Sign inDemoInstall

tz-offset

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

tz-offset

Javascript Timezone Offset


Version published
Maintainers
1
Weekly downloads
57,450
increased by5.01%
Install size
18.5 kB

Weekly downloads

Readme

Source

tz-offset

npm npm Build Status dependencies Status devDependencies Status

A lib to work with JavaScript timezone offset

Usage

var tzOffset = require("tz-offset")
tzOffset.offsetOf("America/Sao_Paulo"); // 180.

tzOffset.removeOffset(new Date()); // a givend date without timezone offset.

tzOffset.timeAt(new Date(), "Europe/London"); // a given date represented in another.

Keywords

FAQs

Last updated on 30 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc