Format$ function

D

Doug

Just looking for the structure of the function.
I grouped a report by week =Format$([Date],"ww",0,0)
I want to display the first date of the week, can I do it
with this function or do I have to apply another function
for this.

Thanks for any help
 
J

John Spencer (MVP)

What is the first day of the week? Sunday, Monday, or some other day?


If Monday, try
DateAdd("d",1-Weekday([Date],2),[Date])

If Sunday, try
DateAdd("d",1-Weekday([Date],1),[Date])
 

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

Top