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
- Available as a Node-RED module called node-red-contrib-jde-date-time
- Available as part of Agilit-e's node-red-contrib-agilite-utils Module
Installation
Using npm:
npm install jde-date-time
In Node.js:
var jde = ;
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 = ; //Converting JDE Date to Javascript Dateconsole; //Outputs: 'Sat Dec 08 2018' //Converting JDE Time to Javascript Timeconsole; //Ouptuts: '12:34:23' //Converting Javascript Date to JDE Dateconsole; //Outputs: '118342' //Converting Javascript Time to JDE Timeconsole; //Outputs: '123216'
To Run Unit Tests
npm run test