Re: Timestamp query...

From: Date: Sat, 28 Feb 2004 03:43:48 +0000
Subject: Re: Timestamp query...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179043@lists.php.net to get a copy of this message
>The field is join_date_time and the values are something like: >20040222000015 >20040223015329 > >Everything is working fine and dandy except now that the client wants a >search functionality in his "control panel" where he can enter the day, >month, year and see all the people who have joined on that particular >date... > >I have created 3 text boxes in the html form named mm,dd,yyyy....but how >do i search on that? All you need is substr() and the mysql keyword 'like', and you should be all set. Why didn't you make join_date_time a datetime in the first place? --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#179043) next »