Now the function output not timestamp values

Hi all this code below should all the lines where the date is now out of date, when I cfdump the query, it shows the date like this: society. MEETING = {ts ' 2012-05-28 17:33:34 ""}

What should I do, add dateformat for the function now or something? Thank you

< cfquery name = "qNames" datasource = "salesdb" >
Select * from business, industries, division
where the company. Prive1 = industries. SECTORSIDS
and division. DEPARTMENTIDS = company. MINISTERE1
and company. WHEN = 2
and company. MEETING = #now () #.
ORDER BY company < / cfquery >

It works now! See you soon

Select * from business, industries, division

where Date (company.meeting) = ' #DateFormat (Now (), "yyyy-mm-dd") #

and company. Prive1 = industries. SECTORSIDS

and division. DEPARTMENTIDS = company. MINISTERE1

ORDER BY company

Tags: ColdFusion

Similar Questions

Maybe you are looking for

  • Toshiba to 100 tablets - power but light can't turn on or off

    I have a tablet that has worked very well since. Just today, he fell asleep while on the charge. The power light and battery lights is on and white as well. I can't have the power button to turn off the power or back on again once. the screen is blac

  • suddenly all my photos into iPhoto

    I had my pictures organized by date and also in albums.  Now they say that they are presented in rolls, but they are not.  More disturbing is the fact that when you click on a small thumbnail (of what you call them) the image that appears is not the

  • Error code coming 1097 in DLL call

    Hello I get the error code 1097 in the DLL function call. Please find the DLL by calling the function for more information. Function: GetControllerListTest (Controller * ptrControllertest, char * max_controller);   Parameter Controllertest details: s

  • New laptop

    Just picked up today model HP-15-B168CA-T and I wonder if it comes with a partition for a factory reset in the future, or what I need to do a backup?

  • Return to the main VI with a HOME MENU button example

    Hello I am in the process of realization of a GUI. Under my in-VI, I want to put a HOME button to return to the main menu if user wishes. I went on while loops, saying as long as the button is not true, I continue. Then I tested with an event structu