The last day of the previous week query

  • Thread starter Thread starter Bre-x
  • Start date Start date
B

Bre-x

Hi,

How do I get the first and last day of the previous week?

I seen current week, but nothing about previous week

The last day of the current week:
Date() - WeekDay(Date()) + 7

Regards,

John
 
Wouldn't the last day of the previous week be 7 days before the last day of
the current week? In other words,

Date() - WeekDay(Date())
 
Assumption: Saturday is the LAST day and Sunday is the FIRST day.

Last day of previous week:
Date() - Weekday(Date())

First Day of previous week:
Date() - Weekday(Date())-6
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top