Hi All,

I found a function named TO_DAYS that solved my problem.

Thanks.

Andre

On Sun, 23 May 2004, Andre MATOS wrote:

> Hi,
> 
> How can I subtract two dates and get the number of days?
> 
> (date1 - date2) = days
> 
> Thanks.
> 
> 

-- 
Andre Matos
[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to