ee.ImageCollection.filterDate

Shortcut to filter a collection by a date range. The start and end may be Dates, numbers (interpreted as milliseconds since 1970-01-01T00:00:00Z), or strings (such as '1996-01-01T08:00'). Based on 'system:time_start'.

This is equivalent to this.filter(ee.Filter.date(...)).

Returns the filtered collection.

UsageReturns
ImageCollection.filterDate(start, end)Collection
ArgumentTypeDetails
this: collectionCollection

The Collection instance.

startDate|Number|String

The start date (inclusive).

endDate|Number|String, optional

The end date (exclusive). Optional. If not specified, a 1-millisecond range starting at 'start' is created.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!