Next date with distinct digitsCan you find my friends' birthdayThe directions from another language?So how did the date go?Logic-grid puzzle. How do I have to interpret the clue?The Recruitment Office PuzzleFind the equality with all digitsMastermind with an errorPawns and DiscsWhat is the canonical age?Unlock an answering machine using minimum number of digits

What things do I only get a limited opportunity to take photos of?

How did the European Union reach the figure of 3% as a maximum allowed deficit?

How to remove multiple elements from Set/Map AND knowing which ones were removed?

Will users know a CardView is clickable

Looking for an iPhone app for working out chess problems

How can I detect if I'm in a subshell?

Threading data on TimeSeries

Why is Skinner so awkward in Hot Fuzz?

Is it possible to have battery technology that can't be duplicated?

How to avoid offending original culture when making conculture inspired from original

Must a CPU have a GPU if the motherboard provides a display port (when there isn't any separate video card)?

How do you translate “talk shit”?

How can Caller ID be faked?

Is there a risk to write an invitation letter for a stranger to obtain a Czech (Schengen) visa?

What is the difference between state-based effects and effects on the stack?

How long would it take for sucrose to undergo hydrolysis in boiling water?

Jam with honey & without pectin has a saucy consistency always

The last tree in the Universe

My parents claim they cannot pay for my college education; what are my options?

Someone who is granted access to information but not expected to read it

How to address players struggling with simple controls?

Background for black and white chart

The title "Mord mit Aussicht" explained

How many possible starting positions are uniquely solvable for a nonogram puzzle?



Next date with distinct digits


Can you find my friends' birthdayThe directions from another language?So how did the date go?Logic-grid puzzle. How do I have to interpret the clue?The Recruitment Office PuzzleFind the equality with all digitsMastermind with an errorPawns and DiscsWhat is the canonical age?Unlock an answering machine using minimum number of digits













10












$begingroup$


The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).



When is the next date that when written in this way has all eight digits different?










share|improve this question











$endgroup$
















    10












    $begingroup$


    The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).



    When is the next date that when written in this way has all eight digits different?










    share|improve this question











    $endgroup$














      10












      10








      10





      $begingroup$


      The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).



      When is the next date that when written in this way has all eight digits different?










      share|improve this question











      $endgroup$




      The date today is 7th June 2019, or 07/06/2019 (using the English DD/MM/YYYY ordering).



      When is the next date that when written in this way has all eight digits different?







      logical-deduction






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 7 at 15:29







      rnaylor

















      asked Jun 7 at 13:30









      rnaylorrnaylor

      1,2711922




      1,2711922




















          1 Answer
          1






          active

          oldest

          votes


















          15












          $begingroup$

          Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is




          17/06/2345 in DD/MM/YYYY format.




          Reasoning




          Notice that the first M will either be $0$ or $1$.
          If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
          If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.

          Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
          Hence the DD/MM part requires both $0$ and $1$.
          After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
          It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.







          share|improve this answer











          $endgroup$








          • 8




            $begingroup$
            I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
            $endgroup$
            – Gareth McCaughan
            Jun 7 at 15:04











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "559"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f84795%2fnext-date-with-distinct-digits%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          15












          $begingroup$

          Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is




          17/06/2345 in DD/MM/YYYY format.




          Reasoning




          Notice that the first M will either be $0$ or $1$.
          If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
          If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.

          Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
          Hence the DD/MM part requires both $0$ and $1$.
          After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
          It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.







          share|improve this answer











          $endgroup$








          • 8




            $begingroup$
            I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
            $endgroup$
            – Gareth McCaughan
            Jun 7 at 15:04















          15












          $begingroup$

          Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is




          17/06/2345 in DD/MM/YYYY format.




          Reasoning




          Notice that the first M will either be $0$ or $1$.
          If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
          If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.

          Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
          Hence the DD/MM part requires both $0$ and $1$.
          After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
          It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.







          share|improve this answer











          $endgroup$








          • 8




            $begingroup$
            I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
            $endgroup$
            – Gareth McCaughan
            Jun 7 at 15:04













          15












          15








          15





          $begingroup$

          Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is




          17/06/2345 in DD/MM/YYYY format.




          Reasoning




          Notice that the first M will either be $0$ or $1$.
          If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
          If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.

          Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
          Hence the DD/MM part requires both $0$ and $1$.
          After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
          It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.







          share|improve this answer











          $endgroup$



          Rather remarkably, I wrote down this exact puzzle in my notebook a couple of years ago to which I think the answer is




          17/06/2345 in DD/MM/YYYY format.




          Reasoning




          Notice that the first M will either be $0$ or $1$.
          If it is $0$ then the first D will either be $1$ or $2$ or DD will be $31$.
          If it is $1$ then either the second M will be $0$ or the second M will be $2$ and the day will contain a $0$.

          Overall, this means that $0$ and either $1$ or $2$ must be used in the DD/MM part. If we don't want to skip to the next millenium, we need the $2$ for the beginning of the year.
          Hence the DD/MM part requires both $0$ and $1$.
          After that, we focus on the nearest year possible which comes from assigning the digits $3,4,5$ in order to century, decade and digit of the year.
          It makes more sense to assign the $0$ to the month instead of $1$ but we cannot assign both since we cannot have a day without any of $0$, $1$ or $2$. Hence, we assign $6$ to the month and then $7$ to create the day.








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 7 at 13:52

























          answered Jun 7 at 13:36









          hexominohexomino

          53k4156248




          53k4156248







          • 8




            $begingroup$
            I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
            $endgroup$
            – Gareth McCaughan
            Jun 7 at 15:04












          • 8




            $begingroup$
            I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
            $endgroup$
            – Gareth McCaughan
            Jun 7 at 15:04







          8




          8




          $begingroup$
          I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
          $endgroup$
          – Gareth McCaughan
          Jun 7 at 15:04




          $begingroup$
          I can confirm that this is also the result of writing a dumb Python program to try future dates until it finds one satisfying the given condition.
          $endgroup$
          – Gareth McCaughan
          Jun 7 at 15:04

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Puzzling Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f84795%2fnext-date-with-distinct-digits%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?