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

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

Recommended Posts

  • Newbies
Posted

I'm having trouble scripting a find for a 3-month rolling time period.  I need to find a date range starting from 3 months prior to yesterday through yesterday.  I can't seem to get my head around the calculation for that range.  Can anyone help please?  Thanks.

Posted
Try using this calculation to build your search criterion on your date field, and let us know how it goes:
 
Let ( [
~yesterday = Get ( CurrentDate ) - 1 ;
~threeMonthsAgo = Date ( Month ( ~yesterday ) - 3 ; Day ( ~yesterday ) ; Year ( ~yesterday ) )
] ;
~threeMonthsAgo & "..." & ~yesterday
)

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