Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: cf query - wanting to set nls date
Just so you all know what my solution was.
I know which fields are the date fields and therefore constructed a list of those called datelist.
<cfloop query="RptQry">
<cfloop list="#form.rptSelect#" index="i">
<cfif ListFind(date_list,#i#)>
<cfset rptval =
#DateFormat(RptQry[i][RptQry.CurrentRow],"mm/dd/yyyy")#>
<cfelse>
<cfset rptval =
#trim(XMLFormat(RptQry[i][RptQry.CurrentRow]))#> </cfif>
</cfloop>
![]() |
![]() |