Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Help Please: How to go back one day?

Help Please: How to go back one day?

Scheduled Pinned Locked Moved Visual Basic
csharptutorialwinformshelp
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    priya_p233
    wrote on last edited by
    #1

    Hello everyone, i m using vb.net 2005 (winforms). when i wnt to go to next day i use datetime.adddays(numberofdays) function. but now i wnt to go back by one day , how to do it? what function is present for this Please tell me. i saw "Subtract function" in help but didnt get it. tell me any another function or if datetime.subtract() function can be used for subtracting one day frm our date then please guide me how to use it. Thanks for any help in advance. --regards Priya

    "The Difficult i can do it now... The Impossible will take a little longer."

    T 1 Reply Last reply
    0
    • P priya_p233

      Hello everyone, i m using vb.net 2005 (winforms). when i wnt to go to next day i use datetime.adddays(numberofdays) function. but now i wnt to go back by one day , how to do it? what function is present for this Please tell me. i saw "Subtract function" in help but didnt get it. tell me any another function or if datetime.subtract() function can be used for subtracting one day frm our date then please guide me how to use it. Thanks for any help in advance. --regards Priya

      "The Difficult i can do it now... The Impossible will take a little longer."

      T Offline
      T Offline
      Tamimi Code
      wrote on last edited by
      #2

      datetime.adddays(-numberofdays)

      When you get mad...THINK twice that the only advice Tamimi - Code

      A 1 Reply Last reply
      0
      • T Tamimi Code

        datetime.adddays(-numberofdays)

        When you get mad...THINK twice that the only advice Tamimi - Code

        A Offline
        A Offline
        Ahmed El Badry
        wrote on last edited by
        #3

        plz i want convert date to days to Compare whith anther date like date.now - 10/11/2006 = valu as daye plz hel me

        Ahmed El-Badry

        D 1 Reply Last reply
        0
        • A Ahmed El Badry

          plz i want convert date to days to Compare whith anther date like date.now - 10/11/2006 = valu as daye plz hel me

          Ahmed El-Badry

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Colin already told you how to do it a few posts up.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups