This is great article about how you can use DateTime class for date comparisons:
I’ve found this nice little thing that quickly allows you to have a MySql GUI.
It is called Adminer and it just works! Database management in a single file:
Add it to your base web directory (public_html or something similar ) and viola.
Disclaimer: only use on development environment.