Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

isodate

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isodate

JavaScript ISO 8601 date/time parser

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
719
-9.67%
Maintainers
1
Weekly downloads
 
Created
Source

isodate

enables the parsing of ISO 8601 date strings.

Usage

var isodate = require("isodate");

// Read a date string
var date = isodate("2011-08-20T19:39:52Z");
console.log(date);

// Write current date as ISO 8601 string.
date = new Date();
console.log(date.toISOString());

It's also possible to parse strings with timezones like in 2011-08-20T19:44:05+01:00.

FAQs

Package last updated on 28 Aug 2012

Did you know?

Socket

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