changed time to a regular nsdate