How to compare db-type DATE?
| From: | Michal Hrtko | Date: | Fri, 09 Mar 2001 14:57:06 +0000 |
| Subject: | How to compare db-type DATE? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43152@lists.php.net to get a copy of this message | ||
Hello,
how can I compare in SELECT variable, that is type Date?
Which type and format $var should be?
example:
$var = ???;
$esql = ODBC_Exec("SELECT * FROM table WHERE table.mydate > $var");
Thanks,
Michal.