Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6581 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to create a field that will create a flag for a date field when the value is saturday or sunday. Here is my calculation where the date field is "service date". I have also tried this using DayofWeek with 1 or 7 for the weekend days.

If (DayName ( Service Date ) = "Sunday" or "Saturday" ; "Y" ; "-")

It does successfully flag the first day specified, but not the second, so I am probably not using "or" correctly. I have tried various permutations, but without success

I would appreciate some help with this.

Thanks

Posted

Try:

If ( DayName ( Service Date ) = "Sunday" or DayName ( Service Date ) = "Saturday" ; "Y" ; "-" )

This topic is 6581 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.