Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
Winston2 #1
dateDiff Question
During login I'm testing whether the user has changed their password in the
last 90 days.
Unfortunately the dateDiff function I'm using produces a negative number. Is
there any way that I can change the datediff below to produce a positive number
instead of a negative number? Thank you.
<cfif datediff('d',now(),getUserInfo.PWchangeDate) gte 90>
<cflocation URL="#Request.Self#?fuseAction=changePassword&msg= 5" addtoken="No">
</cfif>
Winston2 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... -
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 in C#
Hello, I am attempting to port some VB.NET code to C#.NET and have run across the DateDiff function in VB.NET. Does anyone know what the... -
DATEDIFF Command Help
Hi, can someone please help me solve the following problem. This datedifference command boggles me. I have a recorded date/time and I want to... -
BKBK #2
Re: dateDiff Question
<cfif ABS(datediff('d',now(),getUserInfo.PWchangeDate)) gte 90>
BKBK Guest
-
Winston2 #3
Re: dateDiff Question
Thank you very much guys.
I really appreciate your help.
Winston2 Guest



Reply With Quote

