Date of day for next week

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












The following gives me Wednesday of the current week, i.e. yesterday's date.



date -v-wednesday 


I need the date of next week's Wednesday.

How can I do this?







share|improve this question























    up vote
    2
    down vote

    favorite












    The following gives me Wednesday of the current week, i.e. yesterday's date.



    date -v-wednesday 


    I need the date of next week's Wednesday.

    How can I do this?







    share|improve this question





















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      The following gives me Wednesday of the current week, i.e. yesterday's date.



      date -v-wednesday 


      I need the date of next week's Wednesday.

      How can I do this?







      share|improve this question











      The following gives me Wednesday of the current week, i.e. yesterday's date.



      date -v-wednesday 


      I need the date of next week's Wednesday.

      How can I do this?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 21 at 13:07









      Jim

      38710




      38710




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          4
          down vote













          Simple, change the minus to plus



          date -v+wednesday





          share|improve this answer




























            up vote
            1
            down vote













            Almost, but you're not quite right with your description of -wednesday.




            • date -v Wednesday - Wednesday of the current week (past, current, or future)


            • date -v -Wednesday - last Wednesday (today, or up to six days ago)


            • date -v +Wednesday - next Wednesday (today, or up to six days in the future)

            I notice that for "today" (in my case it's Thursday 21st June 2018), there is no difference in the date for -Thursday, +Thursday, or Thursday; they are all 21st June 2018.



            What this means is that it is not possible to get directly to "today" one week in the future. Instead, you have to add one day, and then perform the offset calculation:



            date -v +1d -v +Wednesday





            share|improve this answer























              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              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',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );








               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451101%2fdate-of-day-for-next-week%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              4
              down vote













              Simple, change the minus to plus



              date -v+wednesday





              share|improve this answer

























                up vote
                4
                down vote













                Simple, change the minus to plus



                date -v+wednesday





                share|improve this answer























                  up vote
                  4
                  down vote










                  up vote
                  4
                  down vote









                  Simple, change the minus to plus



                  date -v+wednesday





                  share|improve this answer













                  Simple, change the minus to plus



                  date -v+wednesday






                  share|improve this answer













                  share|improve this answer



                  share|improve this answer











                  answered Jun 21 at 13:13









                  Joe M

                  5964




                  5964






















                      up vote
                      1
                      down vote













                      Almost, but you're not quite right with your description of -wednesday.




                      • date -v Wednesday - Wednesday of the current week (past, current, or future)


                      • date -v -Wednesday - last Wednesday (today, or up to six days ago)


                      • date -v +Wednesday - next Wednesday (today, or up to six days in the future)

                      I notice that for "today" (in my case it's Thursday 21st June 2018), there is no difference in the date for -Thursday, +Thursday, or Thursday; they are all 21st June 2018.



                      What this means is that it is not possible to get directly to "today" one week in the future. Instead, you have to add one day, and then perform the offset calculation:



                      date -v +1d -v +Wednesday





                      share|improve this answer



























                        up vote
                        1
                        down vote













                        Almost, but you're not quite right with your description of -wednesday.




                        • date -v Wednesday - Wednesday of the current week (past, current, or future)


                        • date -v -Wednesday - last Wednesday (today, or up to six days ago)


                        • date -v +Wednesday - next Wednesday (today, or up to six days in the future)

                        I notice that for "today" (in my case it's Thursday 21st June 2018), there is no difference in the date for -Thursday, +Thursday, or Thursday; they are all 21st June 2018.



                        What this means is that it is not possible to get directly to "today" one week in the future. Instead, you have to add one day, and then perform the offset calculation:



                        date -v +1d -v +Wednesday





                        share|improve this answer

























                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          Almost, but you're not quite right with your description of -wednesday.




                          • date -v Wednesday - Wednesday of the current week (past, current, or future)


                          • date -v -Wednesday - last Wednesday (today, or up to six days ago)


                          • date -v +Wednesday - next Wednesday (today, or up to six days in the future)

                          I notice that for "today" (in my case it's Thursday 21st June 2018), there is no difference in the date for -Thursday, +Thursday, or Thursday; they are all 21st June 2018.



                          What this means is that it is not possible to get directly to "today" one week in the future. Instead, you have to add one day, and then perform the offset calculation:



                          date -v +1d -v +Wednesday





                          share|improve this answer















                          Almost, but you're not quite right with your description of -wednesday.




                          • date -v Wednesday - Wednesday of the current week (past, current, or future)


                          • date -v -Wednesday - last Wednesday (today, or up to six days ago)


                          • date -v +Wednesday - next Wednesday (today, or up to six days in the future)

                          I notice that for "today" (in my case it's Thursday 21st June 2018), there is no difference in the date for -Thursday, +Thursday, or Thursday; they are all 21st June 2018.



                          What this means is that it is not possible to get directly to "today" one week in the future. Instead, you have to add one day, and then perform the offset calculation:



                          date -v +1d -v +Wednesday






                          share|improve this answer















                          share|improve this answer



                          share|improve this answer








                          edited Jun 28 at 22:53


























                          answered Jun 21 at 15:33









                          roaima

                          39.2k544105




                          39.2k544105






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451101%2fdate-of-day-for-next-week%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Bahrain

                              Postfix configuration issue with fips on centos 7; mailgun relay