Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2005
    Posts
    224
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Choose which rows to display depending on date

    In my rows in my table, I have 3 separate columns storing the day, month, and year the columns were added

    What's the best way to let someone choose a range of dates, and display the rows that are in that range?

  • #2
    Regular Coder devinemke's Avatar
    Join Date
    Dec 2004
    Location
    NYC
    Posts
    443
    Thanks
    0
    Thanked 12 Times in 11 Posts
    why are you storing your dates in 3 separate fields? just use 1 DATE field and use the BETWEEN clause to select a certain range.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •