DATETIME MySQL - using only month and date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good day to all of you
---

I have a recond in my Database that is called closing and it is a DATETIME ( YYYY-MM-DD HH:MM:SS )

I would like to be able to SELECT from the DB a range of information
e.x. FROM 15/02 to 17/03

Can you please tell me how the SQL query should be constructed it if
we suppose that:

$month_start : starting month
$month_end : ending month

$day_start : starting day
$day_end : ending day

---
Thank you very much in advance.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux