invalid date
Hi,
I am query out and display all dates from my table but for some reason I have invalide date such as :1753-01-01 00:00:00.0 and some others invalid.
I only need to display the valid date, if not valid then display empty, however, the code i have below was not working.
<cfloop query="q_pur">
<cfif not isDate(chgDate)>
<cfset valid_chg_date = '' />
<cfelse>
<cfset valid_chg_date = chgDate />
</cfif>
#valid_chg_date#<br /> :--->it still shows 1753-01-01 00:00:00.0 instead of ' ' (empty string)
</cfoutput>
any idea?
thanks
