> may be I did not make my question clear about what I try to
> do. Basically if I have 2 date values in the same format like
> yyyy-mm-dd, can I use both values to find out if one come
> before another and then display message or something? Say I
> have $date1 = 20010115 and $date2 = 20010120 ( which of
> course we can easily tell that $date1 come before $date2).
> Can I use the sniplet below:
Yep, you can use a simple > conversion in that case as long as its
YMD :)
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]