You could try googling for it. http://lmgtfy.com/?q=date+difference+php
Also, in the future, let's try and keep this group CakePHP related. While I don't mind helping out with PHP-only questions here and there, that's not really the purpose of this group :) Anyway, try date_diff. Like AD said, there's many ways to do this. That's one. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php