xtendscott
Programmer
I have a site that displays an RSS feed(parsed through CF) I am going to stor it in the database then check say every hour to grab the feed again, rather than get it every page view.
What is good way to deal with Time differences?
Hour() or minute()? DateDiff("H",origTime, #now()#).
Would <cfif DateDiff("h", origTime, #now()#) GT 1> work? I have seen some questions of DateDiff's reliability for "d" specifically, just looking for suggestions.
xtendscott
Web Site Design and CF Programming
What is good way to deal with Time differences?
Hour() or minute()? DateDiff("H",origTime, #now()#).
Would <cfif DateDiff("h", origTime, #now()#) GT 1> work? I have seen some questions of DateDiff's reliability for "d" specifically, just looking for suggestions.
xtendscott
Web Site Design and CF Programming