converting time from magic to real times