How accurate would it be to find elapsed time using julian dates?

232 Views Asked by At

How accurate would it be to find elapsed time using two fractional Julian day numbers, subtracting them then converting it into Years, Months, Days,Hours, Minutes, Seconds. If it is how would I go about doing it taking into account leap years and such. Edit: I'm trying to do this in java