Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 723613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:07:41+00:00 2026-05-14T06:07:41+00:00

i have this date’s & Time’s: date1: 10/04/2010 – Time: 08:09 date2: 11/04/2010 –

  • 0

i have this date’s & Time’s:

date1: 10/04/2010 – Time: 08:09

date2: 11/04/2010 – Time: 08:14

i need to show all the date’s between 10/04/2010 time 06:00 and 11/04/2010 time 6:00

i write this: select * from MyTbl where ((Tdate BETWEEN '20100410' AND '20100411') and (Ttime BETWEEN '06:00' and '06:00'))

but i get empty table

thank’s in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:07:41+00:00Added an answer on May 14, 2026 at 6:07 am

    If both columns are datetime, simply add them so you can do a “proper” range query

    where Tdate +Ttime BETWEEN '2010-04-10 06:00:00' AND '2010-04-11 06:00:00'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this date and time format: 2010-05-19 07:53:30 and would like to change
I have this: var date = new DateTime(2009, 12, 5); ... ... and need
I have date 2012-04-02 10:01:00 am I want to show this date in with
i have this markup <input tabindex=5 type=text class=bgFecha date-pick id=date2 value=12/03/2011 name=date2/> Please note
I need to add 28 days to a Date - I have tried this:
I have this date time format in string 11:56:41, 11/22/2011. Here's what I want:
i have this value in date field: 07/09/2010 07:34 how i can see this
I just need your help really much. I have this date() format: <?php date(j.
Have this query: SELECT HOUR( DATE ) AS hr, COUNT( * ) AS cnt
I have this table: ID(INT) DATE(DATETIME) Under the DATE column there are a lot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.