ticks must be between datetime.minvalue.ticks and datetime.maxvalue.ticks
I'm getting this error whilst fetching datetime value in open rails (an open src train simulator). I saw the fetching method in another lib of same exe and tried to use it in the lib that I was modifying according to me but it gives the error "ticks must be between datetime.minvalue.ticks and datetime.maxvalue.ticks" whilst the same piece of code works in the other lib.