| | |
Need to generate a weekly report in cf -- DateFormat(Now() - 7 days
Please support our ColdFusion advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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!
![]() |
Similar Threads
- UTF-8 and PDF (PHP)
- 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)
- Heading and Total problem (Legacy and Other Languages)
- spywaregaurd found problem-hijack log (Viruses, Spyware and other Nasties)
Other Threads in the ColdFusion Forum
- Previous Thread: Assistance
- Next Thread: FrontPage Extensions and ColdFusion?
| Thread Tools | Search this Thread |





