Quick Search:
 
 mySQL: MYSQL Select time from a date Jump to:  
Category: >> mySQL >> MYSQL Select time from a date  

<< lastnext >>

Snippet Name: MYSQL Select time from a date

Description: If you have a date field in mysql of format:

09/02/2005 13:52

and you wish to find events made between two times not between two dates, use the example query.

Comment: (none)

Language: MYSQL
Highlight Mode: MYSQL
Last Modified: March 01st, 2009

SELECT date_booking_made 
FROM WHERE HOUR(the_date)> 10 
AND MINUTE(the_date) > 10


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org