Solved Current Sunday Day and Current Thurday Day of This Week (1 Viewer)

Sarah.M

Member
Local time
Today, 20:39
Joined
Oct 28, 2021
Messages
335
Hi, Plz note, My VBA is blocked by IT for security reason (Cybersecurity).
I can use only Expression builder, Macros, Queries, Tables, Forms and Reports only.
------------------------------------------------
Assuming today's date is February 8, it is fall in week 6
I want to know the period for this week from Sunday to Thursday?

Current Sunday Day? and Current Thurday Day? of This Week

Query Name: DateQ

This Week is 6
Today: 8/2/2023
This Sudnay:?
This Thursday:?
I tried to make it work via a function DatePart and WeekDay, But I didn't get the right answer 🙇‍♀️ :(🙇‍♀️
Plz help me 🙏🙏

Sample Attached
 

Attachments

  • SunAndThuThisWeek.accdb
    640 KB · Views: 71

Ranman256

Well-known member
Local time
Today, 13:39
Joined
Apr 9, 2015
Messages
4,337
=format(date(),"ddd")

or
=format(date(),"w") = vbWednesday
 

Sarah.M

Member
Local time
Today, 20:39
Joined
Oct 28, 2021
Messages
335
=format(date(),"ddd")

or
=format(date(),"w") = vbWednesday
Hi,
I mean I want to know the period of dates for week 6 Start from Sunday end Thursday
For example I want Access to write in my Report this Report is for week 6 Starting from Sunday 5th to Thursday 9th, It changes every week automatically
🙇‍♀️ 🙏
 

Users who are viewing this thread

Top Bottom