•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 391,709 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,394 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser:
Views: 3118 | Replies: 1
![]() |
I have a cfmail script that sends a daily summary of orders. It basically grabs all of the orders from the db, uses DateFormat(Now() and then uses the query to generate the rport. The cf scheduler send the page daily.
Now I need to send a report on a weekly basis. I started by saving a new copy of the cfmail file. now I need to generate my date range. It needs to go from today and subtract 7 days. So we want to show all orders from the previous Friday to through Thursday night.
My query looks like this:
can someone give me an example of what my date range would look like?
thanks!
Now I need to send a report on a weekly basis. I started by saving a new copy of the cfmail file. now I need to generate my date range. It needs to go from today and subtract 7 days. So we want to show all orders from the previous Friday to through Thursday night.
My query looks like this:
where a.OrderedDate = '#DateFormat(Now(), "yyyy-mm-dd")#'can someone give me an example of what my date range would look like?
thanks!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ColdFusion Marketplace
- generating one report from multiple tables (Visual Basic 4 / 5 / 6)
- Need to generate a weekly report in asp -- DateFormat(Now() - 7 days (ColdFusion)
- Calculate Students Grade And Grade Weightage (ColdFusion)
- Inaccurate Time Logs (Windows NT / 2000 / XP / 2003)
- Heading and Total problem (Legacy and Other Languages)
- spywaregaurd found problem-hijack log (Viruses, Spyware and other Nasties)
- UTF-8 and PDF (PHP)
Other Threads in the ColdFusion Forum
- Previous Thread: Assistance
- Next Thread: FrontPage Extensions and ColdFusion?


Linear Mode