New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

timezone-conversions

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezone-conversions - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

6

package.json
{
"name": "timezone-conversions",
"version": "1.1.5",
"version": "1.1.6",
"description": "Convert datetime from one timezone to another",

@@ -12,2 +12,6 @@ "main": "index.js",

"datetime",
"timezone",
"timezones",
"angular-datetime",
"react-datetime",
"node-datetime"

@@ -14,0 +18,0 @@ ],

@@ -13,7 +13,25 @@ # timezone-conversions

## Usage
## Getting started
For NodeJS
```javascript
const { Convert_TZ, CurrentDateTime } = require("timezone-conversions");
```
For Angular, React
```javascript
import { Convert_TZ, CurrentDateTime } from "timezone-conversions";
```
For Web
```html
<script src="https://d8y0bt6o4sw75.cloudfront.net/timezone-conversions.js"></script>
```
## Examples
```javascript
// Convert datetime from one time timezone to another

@@ -43,2 +61,2 @@ Convert_TZ("YYYY-MM-DD HH:mm:ss", from_timezone, to_timezone);

© 2021 Aman Latkar amanlatkar.com, MIT license.
© 2021 Aman Latkar [amanlatkar.com](https://amanlatkar.com), MIT license.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc