Prabu,
Thursday, October 24, 2002, 4:25:02 PM, you wrote:

PS> I am using MySQL as database server. I still have problem now to select 
PS> appointment time whose 3 minute difference (later) than now().

PS> I can not use "timestampdiff". Is there "TimeStampDiff " command in MySQL ?

PS> I tried this command but it didn't work :
PS> "
PS> select * from appointment where date=curdate() and timestampdiff(2, 
PS> time, concat(hour(now()),':',minute(now()) );
PS> "

Take a look at DATE_ADD() function:
     http://www.mysql.com/doc/en/Date_and_time_functions.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to