I have written an app that submits observations to webobs in the AAVSO visual format. Part of this app of course converts the calendar date to JD, and on several occasions error messages have been raised when attempting to upload a file. I thought that this was because of some inconsistency in the format, but it turns out that the algorithm I have been using (downloaded from the web) doesn't always return the correct JD!
Does anyone know of a reliable JD algorithm, preferably (though not necessarily) in Visual Basic?
You may contact me on email@example.com  if you want
Michael Poxon, Norwich, UK