ee.Image.date
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."],[[["The `date()` function retrieves the acquisition time of an Earth Engine image."],["It returns the acquisition time as a Date object, similar to using `ee.Date(image.get('system:time_start'))`."],["This function is applied to an Earth Engine Image object."]]],[]]