Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date range -- Year to date until last Sunday 1

Status
Not open for further replies.

willz99ta

IS-IT--Management
Sep 15, 2004
132
US
Hi and thanks for your help,

I am trying to figure out how to select the date range from my report to be the Year To Date until last Sunday.

Any idea?

Thanks again,
Will
 
{table.date} in date(year(currentdate),1,1) to currentdate-dayofweek(currentdate)

This would be through the previous Saturday. If you want to include Sunday, add +1 at the end.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top