Hi,

I am having problems get how many days out an invoice is. I have try this
sql statement.

SELECT NOW()-submmitted_date FROM table;

But it not working as usually. So please guys a little help.

So If an invoice was submmitted on 9-26-02 then I should be able to see that
5 days.

Chuck Payne
Magi Design and Support
sql,query



---------------------------------------------------------------------
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