correct date and time round up method