Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Smiller #1
DateDiff Problem with the Year 2000
I am having a problem calculating the proper age of people if they were born in
the year 2000
<cfset bydate=#dateformat(#todaydate#,"mm/dd/yy")#>
<cfset year="#datediff("yyyy",form.bday,bydate)#">
I enter my daughters bday 2/16/2000 and it returns her age as 4 instead of 5.
Same with anyone else born in the year 2000.
Has anyone else had this problem. Is there a fix? Is it my code?
Thanks
Sharon
Smiller Guest
-
Datediff() bug
The Datediff("m",startdate,enddate) function does not return the correct value if the startdate is "2/28/05" and the enddate has a day value of... -
Datediff Problem
I am having some difficulties with the function Datediff! I am trying to calculate the number of days between two given date E.G: Number days... -
Query - Datediff problem
Hello all, I am trying to generate a list of users that have not responded to a survey in 3 months, but I am running into problems with the... -
Datediff
Hello Newsgroup, I have a little problem. I want to know the difference between two dates but I need this in a german format. First Date :... -
DateDiff problem on different servers
I have an ASP page that lists files and folders in a directory. I'm using a cookie to record the last time this page was visited, and I intend to... -
PaulH #2
Re: DateDiff Problem with the Year 2000
if you're using mx, make sure you have the [url]http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/releasenotes_cfmx61_updater02.html[/url] installed.
PaulH Guest



Reply With Quote

