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. Windows Forms
  4. to date problem

to date problem

Scheduled Pinned Locked Moved Windows Forms
helpdatabasesql-serveroraclesysadmin
2 Posts 2 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.
  • N Offline
    N Offline
    Naresh123456789
    wrote on last edited by
    #1

    hi, sorry for second time writing actually i missing one line to tell you. in my windows application users enters theirs dateofbirth details like 02/05/1983.and my problem is i want show the Date of births between specified month and date values.i am using sqlserver 2005 as backend.but in that todate function is not there. 'Select Convert(datetime ,'2002/01/01') ' this function gives us entire date but i want retrive the DD/MM only from specified date. in oracle we have to date('DD/MM','02/05/1983') but in sql server it was not working please help me in this problem. thank you. regards

    S 1 Reply Last reply
    0
    • N Naresh123456789

      hi, sorry for second time writing actually i missing one line to tell you. in my windows application users enters theirs dateofbirth details like 02/05/1983.and my problem is i want show the Date of births between specified month and date values.i am using sqlserver 2005 as backend.but in that todate function is not there. 'Select Convert(datetime ,'2002/01/01') ' this function gives us entire date but i want retrive the DD/MM only from specified date. in oracle we have to date('DD/MM','02/05/1983') but in sql server it was not working please help me in this problem. thank you. regards

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      Please don't start a new thread for a follow-up comment to your original question[^].

      Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


      [Forum Guidelines] [Articles] [Blog]

      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