add first gregorian
we will need time in kattis. lets create time
return mod julian time