Hi, OK, I'm doing a web based booking system, keeping the bookings in a postgresql database (V6.4). I wanted to use the SQL OVERLAPS command to check if the current booking overlapped with a previouly booked time but it appears that the OVERLAPS command is not implemented in current versions of postgresql. Anyone, know a work around for this or an alternate command? I would really appreciate it or I'll have to write my own OVERLAPS routine and if I can do it surly the postgresql team can! I'm not on this list so if you can send a copy of your reply to me at [EMAIL PROTECTED] I would appreciate it. Thanks, Carmelo -- ================================================================== Carmelo Volpe Ph.D. System Manager & Head of Bioinformatics, Medical Nutrition, Karolinska Institute, S-141 57 HUDDINGE Sweden E-mail: [EMAIL PROTECTED] Tel (office): +46 8 5858 3779 Fax : +46 8 711 6659 ==================================================================