Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jde-date-time

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jde-date-time

A NodeJS and JavaScript Library to manage conversions of JDE Dates/Times to JS Dates/Times and vice versa

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

jde-date-time

A NodeJS and JavaScript Library to manage conversions of JDE Dates/Times to JS Dates/Times and vice versa

Created by Agilit-e

Installation

Using npm:

npm install jde-date-time

In Node.js:

var jde = require('jde-date-time');

Description

jde-date-time is a simple Javascript and NodeJS Library to manage conversions between JDE Date and Time formats to Javascript Date and Time formats and vice versa.

How to use:

Pay close attention to parameters types

var jde = require('jde-date-time');

//Converting JDE Date to Javascript Date
console.log(jde.convertJDEDateToJSDate(118342)); //Outputs: 'Sat Dec 08 2018'

//Converting JDE Time to Javascript Time
console.log(jde.convertJDETimeToJSTime(123423)); //Ouptuts: '12:34:23'

//Converting Javascript Date to JDE Date
console.log(jde.convertJSDateToJDEDate('2018-12-08')); //Outputs: '118342'

//Converting Javascript Time to JDE Time
console.log(jde.convertJSTimeToJDETime('12:32:16')); //Outputs: '123216'

To Run Unit Tests

npm run test

Keywords

FAQs

Package last updated on 19 Mar 2020

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

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