Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi,

I need to set a range for a perform find, this range needs to be from 2 months ago until today's date.

Do you know how could I create this "2 months ago" date

If we are 1/22/12, I would like to set a variable as 11/22/11

Any help would be appreciated,

Thank you

Posted

Try this , where "thisdate" is your date field...


Date ( Month ( thisdate )-2  ;   Day (thisdate ) ;  Year ( thisdate ) )

Posted

Try something like:

Enter Find Mode [}

Set Field [ YourTable::Datefield ; Let ( t = Get (CurrentDate) ; Date ( Month ( t ) - 2 ; Day ( t ) ; Year ( t ) ) & "..." & t ) ]

Perrrform Find []

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