Reverted so dates no longer uses milliseconds