Java Date Math
843836Nov 29 2004 — edited Dec 2 2004Does anyone know an accurate way to calculate the difference in days between two java.util.Date objects. I have been setting the time to 00:00:00, subtracting one object's getTime() value from the others and dividing the result by 86,400,000 it doesn't seem to always be accurate.
Any ideas?
Thanks,
Matt