WeekStart with a Parameter

Tips and tricks, articles, and related material.
Post Reply
jhummer
Posts: 1172
Joined: Wed Mar 17, 2010 2:49 pm

WeekStart with a Parameter

Post by jhummer » Tue Jun 11, 2019 6:51 pm

Here is how to use a WeekStart syntax with a Parameter

'{Date.WeekStart.AddDays(0).SqlDate}':{@Date}

The Date is the name of the parameter. If you choose a Wednesday in the parameter it will return Sunday to Wednesday.

Post Reply