Use the GregorianDate library.