Socket
Socket
Sign inDemoInstall

wcf-date

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wcf-date

Utilities for converting between date objects and WCF date representation strings


Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
1
Install size
8.45 kB
Created
Weekly downloads
 

Readme

Source

wcf-date

Build Status bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

Converts between WCF date and JavaScript Date object.

Install

npm install wcf-date

Use Module

Node.js

let wcfDate = require("wcf-date");

Browser

<script src="node_modules/wcf-date/lib/wcf-date.js" />

Demo

let wcfDate = require("wcf-date");
let s = "/Date(1408431600000-0700)/";
let d = wcfDate.parseWcfDate(s);
// 2014-08-19T06:59:59.300Z
let s2 = wcfDate.toWcfDateString(d);
// "/Date(1408431599300)/"

Keywords

FAQs

Last updated on 02 Sep 2016

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