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

Need help modifying cfoutput date

New Here ,
Jun 04, 2008 Jun 04, 2008

Copy link to clipboard

Copied

At the moment, my site is displaying today's date, using this code:
<cfoutput>#dateFormat(now(),"DDDD MMM DD, YYYY")#</cfoutput>

But I need "Today's Date" to roll over to the next day every night at 10:00PM, rather than at midnight. Any ideas?
TOPICS
Advanced techniques

Views

183

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
LEGEND ,
Jun 04, 2008 Jun 04, 2008

Copy link to clipboard

Copied

LATEST
use dateadd. Details are in the cfml reference manual. If you don't have one, the internet does.

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