FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » select date from DATETIME field
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: select date from DATETIME field [message #185606 is a reply to message #185604] Sat, 19 April 2014 21:39 Go to previous message
pentapus is currently offline  pentapus
Messages: 3
Registered: April 2014
Karma:
Junior Member
On 4/19/2014 5:01 PM, Denis McMahon wrote:
> On Sat, 19 Apr 2014 15:39:52 -0400, pentapus wrote:
>
>> I have a DATETIME field that I am looking for rows that just match the
>> date. What is the easy way?
>>
>> I thought SELECT * FROM some_table WHERE DATE(time-date-field) = ... but
>> no go...
>
> I thought this was a php newsgroup, you seem to have confused it with
> comp.databases.[something] or possibly alt.php.sql

Indeed. I sent this off when quickly when I had company at the door. It
should have gone elsewhere. My bad. I did not know of alt.php.sql, I
intended comp.databases.mysql

--
pentapus
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Parse error: syntax error, unexpected '$sql' (T_VARIABLE) in
Next Topic: Use PHP to populate a Mailing list from a webpage
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 23:01:43 GMT 2024

Total time taken to generate the page: 0.05210 seconds