change clock into time