Link to home
Start Free TrialLog in
Avatar of Rush_2112
Rush_2112

asked on

date range question

Hello all,

I have an MS SQL 2K DB with a date feild.  (Tracks events that are going to happen for that week, M-F)

On a web page, I want to be able to display all the records that take place that week, none before or after.  The web page will be viewed everyday, so it will always need to go back to the beginning of the week, monday - and display records for that day, through the friday at the end of the week.  Then of course, the following monday, the web page can't show any of the records from the previous week, only the records for the business week you're currently in the middle of.

I hope I've explained it well, I'll specify if anyone has questions.

Thanks in advance.
Avatar of Rush_2112
Rush_2112

ASKER

points increased**
ASKER CERTIFIED SOLUTION
Avatar of danrosenthal
danrosenthal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dan,

This works perfectly!! Thank you!!

(This will still pull all of Mon-Fri data, even on a tuesday - right?)  In other words, it will still pull from dates that have past if it's in this week, correct?