Work in progress
Fixed issue with time_val::universal_time. Added Gregorian time functions