Earth Engine has introduced noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ee.DateRange.intersection
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
The DateRange.intersection() method returns a new DateRange object representing the overlapping period of the current DateRange and another specified DateRange.
This method takes one argument, other, which is the DateRange to intersect with.
Examples are provided in both JavaScript and Python demonstrating how to find the intersection of two ee.DateRange objects.
Returns a DateRange that contains all points in the intersection of this DateRange and another.
[null,null,["Last updated 2023-10-06 UTC."],[],["The `intersection()` method determines the overlapping period between two `DateRange` objects. It takes another `DateRange` as input (`other`). The method returns a new `DateRange` that represents the shared time interval between the original `DateRange` and the input `DateRange`. For example, intersecting '2017-06-24' to '2017-07-24' with '2017-07-01' to '2018-08-24' yields a DateRange from '2017-07-01' to '2017-07-24'.\n"]]