Hi,
The database does not display my values correctly when i submit the details, this is what i do;
<cfset gtldate = CreateDateTime(form.gtlyea
r, form.gtlmon, form.gtldays, form.gtlhour, form.gtlmin, form.gtlsecs)>
Then in my query i use this:
<cfqueryparam value="#gtldate#" CFSQLType="CF_SQL_date">
And this is my result OUPUT in my cfm page: {ts '2006-01-19 09:59:00'}
This is what i see i the DB: 19/01/2006
What should i do, I tried formatting the date differently but keep hitting the wall.
Cheers
Start Free Trial