Now using GregorianDate instead of int

Change the code so it now uses GregorianDate instead of int