|
Thank you Steve
as you point out it was just the "" causing the
problem
regards greg
----- Original Message -----
From: Steve Onnis
Sent: Tuesday, March 18, 2003 1:36 PM
Subject: [cfaussie] RE: Date difference and create date and date
format AGE today <cfset DOB = "31/12/2003">
<cfoutput>#DateDiff("yyyy",CreateODBCDateTime(DOB),NOW())#</cfoutput>
you
cant do #DateDiff("yyyy",CreateODBCDateTime("DOB"),NOW())#, because it will look
at "DOB" as a string, not a variable
Regards
Steve Onnis
("If you think it can't be done, you haven't asked me!") - Steve Onnis
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ |
- [cfaussie] RE: Date difference and create date and date form... Steve Onnis
- [cfaussie] RE: Date difference and create date and date... stone
- [cfaussie] RE: Date difference and create date and date... Mark Stanton
- [cfaussie] RE: Date difference and create date and date... Steve Onnis
- [cfaussie] RE: Date difference and create date and date... stone
- [cfaussie] RE: Date difference and create date and date... Toby Tremayne
- [cfaussie] RE: Date difference and create date and date... Steve Onnis
- [cfaussie] RE: Date difference and create date and date... Mark Stanton
- stone
