Skip to content

javascript functions for converting date to julian day and vice versa

License

Notifications You must be signed in to change notification settings

Igor-A1/juldate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

juldate

javascript functions for converting date to julian day and vice versa. ES6 re-implementation from Mivion's Moshier Ephemeris

Note: only works with dates older than 1582!

Installation

npm install juldate

Usage

const juldate = require('juldate')

let d = new Date(), 
  j = juldate.date2julian(d);

console.log(d);
console.log(j);
console.log(juldate.julian2date(j));

License

MIT

About

javascript functions for converting date to julian day and vice versa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published