Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum 15 April 2025 harus memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Pintasan untuk memfilter kumpulan data menurut rentang tanggal. Awal dan akhir dapat berupa Tanggal, angka (ditafsirkan sebagai milidetik sejak 1970-01-01T00.00.00Z), atau string (seperti '1996-01-01T08.00'). Berdasarkan 'system:time_start'.
Ini setara dengan this.filter(ee.Filter.date(...)); lihat jenis ee.Filter untuk opsi pemfilteran tanggal lainnya.
Menampilkan koleksi yang difilter.
Penggunaan
Hasil
ImageCollection.filterDate(start, end)
Koleksi
Argumen
Jenis
Detail
ini: collection
Koleksi
Instance Koleksi.
start
Tanggal|Angka|String
Tanggal mulai (termasuk).
end
Date|Number|String, opsional
Tanggal akhir (eksklusif). Opsional. Jika tidak ditentukan, rentang 1 milidetik yang dimulai dari 'start' akan dibuat.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 UTC."],[[["`ImageCollection.filterDate()` allows you to filter an image collection by a specific date range using start and end dates."],["Start and end dates can be specified as Dates, numbers (milliseconds since 1970-01-01T00:00:00Z), or date strings (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)."],["The filter is based on the `system:time_start` property of images within the collection."],["If the end date is not provided, a 1-millisecond range starting at the start date is used for filtering."],["This function is a shortcut to using `ee.Filter.date()` and returns the filtered collection."]]],["The `filterDate` method filters an ImageCollection by a date range, based on 'system:time_start'. It accepts start and optional end dates as Dates, numbers (milliseconds since 1970), or strings. If no end date is provided, a 1-millisecond range from the start is used. This function returns a filtered collection. Examples demonstrate usage with various input formats, including date strings, milliseconds, `ee.Date` objects, and `ee.DateRange` objects in both JavaScript and Python.\n"]]