Skip to main content
nikos101
Inspiring
April 20, 2009
Question

Pass date and time from flex app to coldfusion

  • April 20, 2009
  • 1 reply
  • 1758 views

I need to pass date and time from the same date in  a  flex app  to coldfusion. It seems that coldfusion allows only date or time parameters to be accepted and truncates the other part.

This topic has been closed for replies.

1 reply

Inspiring
April 21, 2009

what makes you say that "coldfusion allows only date or time parameters to be

accepted and truncates the other part"? what are you actually passing back to cf

& how are you doing it?

nikos101
nikos101Author
Inspiring
April 21, 2009

I'm using flex. remote object.

I figured how to pass the date to coldfusion query

use

<cfqueryparam value="#arguments.dealDate#" cfsqltype="cf_sql_timestamp">

instead of

<cfqueryparam value="#arguments.dealDate#" cfsqltype="cf_sql_date">