public void TestUTCtoJulian() { //Jan 1st 2010 5:30:30.1234 AM DateTime date = new DateTime(2010, 01, 01, 05, 30, 30, 1234); //2455197.729515 (only accurate to 1 millisecond) double testJD = CoordinateTransformation.UTCtoJulian(date); Assert.AreEqual(2455197.729515, testJD); }