RealTime fix for time conversion