In message <[EMAIL PROTECTED]
esigns.com>, Conor Doyle <[EMAIL PROTECTED]> writes
>I believe the problem with the way you where comparing the dates is that
>a date is considered a string in PHP.  AFAIK, you can't compare two
>strings beyond == and !=.

Sorry to disagree, Conor, but you are not correct, you can compare
strings.  

'a' < 'b' is 'true'
'2005-03-01' < '2005-03-03' is also true.

-- 
Pete Clark

http://www.hotcosta.com
http://www.spanishholidaybookings.com




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to