Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weekend Data

Status
Not open for further replies.

AGoodGuy

Programmer
Aug 16, 2011
32
I have a date field called Expiration date. Since I work on Monday - Friday, how would I be able to collect datat for Saturday and Sunday?
 


Hi,

How do you want to "collect"?

What are your criteria?

Generally you could use
[tt]
=if(left(text(YourDateRef,"ddd"),1)="S"),true,false)
[/tt]
where the text function "DDD" returns the day of week.


Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
I have the fieldname ExpDate set to Date()+32; which gives me the data for the policies with an expiration date of 11/18/2011. For expamle renewal offers goes out to customers with an expiration date of 11/18/2011 but the leeter went out yesterday being 10/16/2011. I would like to capture the data for Friday and Saturday. I do get the data for Dunday when I run the data on Monday because it is giving me the data the previuos day. I dont get the data for Friday nor Sataurday. How can I do that?
 
Use the WEEKDAY formula to check for Monday and adjust your data pull to include the dates required.

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top