• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Today's Date Minus Record Date

Participant ,
Oct 14, 2006 Oct 14, 2006

Copy link to clipboard

Copied

I have a date created field and I want to know how many days it's been since that date until now. How can I do that? Would I calcuate that in the SQL string?
TOPICS
Advanced techniques

Views

307

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 14, 2006 Oct 14, 2006

Copy link to clipboard

Copied

The DateDiff function should give you what you want.

#DateDiff('d','10/1/2006',Now())#

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 16, 2006 Oct 16, 2006

Copy link to clipboard

Copied

LATEST
You can find the details about the DateDiff function from this link:

http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=C...

Thanks

Sankalan
(www.mindfiresolutions.com)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation