I haven't started extensive testing, but today (May 9th) is Rosh Chodesh Iyar day #2, and the library says that the english date for the molad is "Fri May 13 2016 22:59:56 GMT-0400 (EDT)", which I believe is exactly 1 week late.
Sample Code:
var year = new Hebcal;
var date = new Hebcal.HDate();
console.log(year.getMonth(date.getMonth()).molad());
FWIW, the date/time of the molad is Jerusalem Solar Time, and it would be really cool to convert it to local solar time, and then local standard time, for calculating things like earliest/latest time to say kiddush levana.
I haven't started extensive testing, but today (May 9th) is Rosh Chodesh Iyar day #2, and the library says that the english date for the molad is "Fri May 13 2016 22:59:56 GMT-0400 (EDT)", which I believe is exactly 1 week late.
Sample Code: var year = new Hebcal; var date = new Hebcal.HDate(); console.log(year.getMonth(date.getMonth()).molad());
FWIW, the date/time of the molad is Jerusalem Solar Time, and it would be really cool to convert it to local solar time, and then local standard time, for calculating things like earliest/latest time to say kiddush levana.