PHP MySQL Date diff

aronprins

New Member
I have the field \[code\]datetime\[/code\] with DATETIME type in MySQL. In PHP script I set date begin and date end like this: 11/12/1999 and 11/12/2001. In my table datetime saved in the next format: 11.11.1888 00:00:00. How can I compare these dates?Thanks.
 
Back
Top