|
Hi
i have stored DOB date format 31/12/2003 and want
to calculate the age today.
my current attemp works but i can't switch the date
format to match my stored info (DOB)
<cfscript>
yearssgone = DateDiff("yyyy",CreateDate(1960,06,10),NOW()); </cfscript> <strong>age today :<cfoutput>#yearssgone#</cfoutput></strong> Can any one help with this one.
maybe a simpler snippet
thanks inadvance
greg stone
---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/ |
