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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Compaire two dates

Compaire two dates

Scheduled Pinned Locked Moved Visual Basic
question
4 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    Amarni
    wrote on last edited by
    #1

    how can i check if the date 28/5/2006 > date of today

    V J 2 Replies Last reply
    0
    • A Amarni

      how can i check if the date 28/5/2006 > date of today

      V Offline
      V Offline
      vipinpaliwal1980
      wrote on last edited by
      #2

      hello amarni u use this function DateDiff() this function help you. thanks vipin paliwal

      1 Reply Last reply
      0
      • A Amarni

        how can i check if the date 28/5/2006 > date of today

        J Offline
        J Offline
        J4amieC
        wrote on last edited by
        #3

        Amarni wrote:

        the date 28/5/2006

        Thats my Birthday!! 28 on the 28th :D You didnt mention the language, but .NET allows you to compare 2 DateTime instances using the exact operator you used... > DateTime jcBirthday = new dateTime(2006,5,28); DateTime today = DateTime.Now; bool isJCBirthdayInTheFuture = (jcBirthday > today); Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

        A 1 Reply Last reply
        0
        • J J4amieC

          Amarni wrote:

          the date 28/5/2006

          Thats my Birthday!! 28 on the 28th :D You didnt mention the language, but .NET allows you to compare 2 DateTime instances using the exact operator you used... > DateTime jcBirthday = new dateTime(2006,5,28); DateTime today = DateTime.Now; bool isJCBirthdayInTheFuture = (jcBirthday > today); Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

          A Offline
          A Offline
          Amarni
          wrote on last edited by
          #4

          happy birthday to you by the way my birthday id 12/5/1983 thank you for the answer Amarni

          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