ee.Algorithms.Date
Creates a Date.
Usage | Returns | ee.Algorithms.Date(value, timeZone) | Date |
Argument | Type | Details | value | Object | A number (interpreted as milliseconds since 1970-01-01T00:00:00Z), or string such as '1996-01-01' or '1996-001' or '1996-01-01T08:00'. |
timeZone | String, default: null | The time zone (e.g., 'America/Los_Angeles'); defaults to UTC. |
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["Creates an Earth Engine `Date` object from a number, representing milliseconds since epoch, or a date string."],["The `Date` object can be constructed using a specific time zone, with the default being UTC if not specified."]]],[]]