title: convert javascript date to julian date
body: <p>in javascript, I have a from date input and to date input on client page, I am implementing validation between the two inputs. to date should greater than from date, my solution is convert them to Julian date and then compare them, how to convert the javascript date to Julian date?</p>