MySQL Forums
Forum List  »  PHP

Re: select from database where date = 27
Posted by: hali alduhoky
Date: March 01, 2014 08:03PM

hello peter :)

please give me example .


i saw this example but it is do not work with me, i do not think it is true
select * from accounts where FROM_UNIXTIME(twentyone, '%D') LIKE '%27%'


FROM_UNIXTIME(twentyone, '%D'), here i want to get just day from date in the database

and here, FROM_UNIXTIME(twentyone, '%D') LIKE '%27%' if insert day like %27% .


i think now you understand me :)

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.