Use a combination of the DATE_ADD function and the NOW function: SELECT DATE_ADD(NOW(), INTERVAL 20 MINUTE)
--jeff ----- Original Message ----- From: "Edilson Vasconcelos de Melo Junior" <[EMAIL PROTECTED]> To: "MYSQL" <[EMAIL PROTECTED]> Sent: Monday, April 01, 2002 12:04 PM Subject: DATE_ADD ? > Hi, > > How do i the current timestamp plus 20 minutes in MYSQL? I have a > Timestamp(14) field > and i need to insert the current datetime plus 20 minutes. > > Thank u very much, > Dirso. > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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