Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.date
Stay organized with collections
Save and categorize content based on your preferences.
Returns the acquisition time of an image as a Date object. This helper function is equivalent to
ee.Date(image.get('system:time_start'))
.
Usage | Returns | Image.date() | Date |
Argument | Type | Details | this: image | Image | The image whose acquisition time to return. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003edate()\u003c/code\u003e function retrieves the acquisition time of an Earth Engine image.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the acquisition time as a Date object, similar to using \u003ccode\u003eee.Date(image.get('system:time_start'))\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis function is applied to an Earth Engine Image object.\u003c/p\u003e\n"]]],[],null,["# ee.Image.date\n\nReturns the acquisition time of an image as a Date object. This helper function is equivalent to `ee.Date(image.get('system:time_start'))`.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------|---------|\n| Image.date`()` | Date |\n\n| Argument | Type | Details |\n|---------------|-------|---------------------------------------------|\n| this: `image` | Image | The image whose acquisition time to return. |"]]