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 5775 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Case (Date < "1/1/2009"; 1; Date > "1/1/2009"; 0)

Assuming you don't want 1/1/2009 included.

If you want 1/1/2009 to calculate as 0:

Case (Date < "1/1/2009"; 1; Date ≥ "1/1/2009"; 0)

If you want 1/1/2009 to calculate as 1:

Case (Date ≤ "1/1/2009"; 1; Date > "1/1/2009"; 0)

Posted

Try this.

YourDate ≤ GetAsDate ( "1/1/09" )

Posted

Case (Date < "1/1/2009"; 1; Date > "1/1/2009"; 0)

Assuming you don't want 1/1/2009 included.

If you want 1/1/2009 to calculate as 0:

Case (Date < "1/1/2009"; 1; Date ≥ "1/1/2009"; 0)

If you want 1/1/2009 to calculate as 1:

Case (Date ≤ "1/1/2009"; 1; Date > "1/1/2009"; 0)

This wont work.

Posted

Thanks John. I always use the GetAsDate() function, but always forget to include it in my replies.

Posted

Still working that one into my memory banks.

That's the problem with self-taught strategies. Bad habits.

Thanks comment.

This topic is 5775 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.