Set time to local in DB.