ee.Algorithms.Date
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy obiekt Date.
Wykorzystanie | Zwroty |
---|
ee.Algorithms.Date(value, timeZone) | Data |
Argument | Typ | Szczegóły |
---|
value | Obiekt | Liczba (interpretowana jako milisekundy od 1970-01-01T00:00:00Z) lub ciąg znaków, np. „1996-01-01”, „1996-001” lub „1996-01-01T08:00”. |
timeZone | Ciąg tekstowy, domyślnie: null | Strefa czasowa (np. „America/Los_Angeles”); domyślnie jest to UTC. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eCreates an Earth Engine \u003ccode\u003eDate\u003c/code\u003e object from a number, representing milliseconds since epoch, or a date string.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDate\u003c/code\u003e object can be constructed using a specific time zone, with the default being UTC if not specified.\u003c/p\u003e\n"]]],["The `ee.Algorithms.Date` function creates a Date object. It accepts a `value`, which can be a number representing milliseconds since 1970-01-01T00:00:00Z or a date string (e.g., '1996-01-01'). An optional `timeZone` argument (defaulting to UTC) specifies the time zone for the date, using names like 'America/Los_Angeles'. The function returns a Date object.\n"],null,["# ee.Algorithms.Date\n\nCreates a Date.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------|---------|\n| `ee.Algorithms.Date(value, `*timeZone*`)` | Date |\n\n| Argument | Type | Details |\n|------------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `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'. |\n| `timeZone` | String, default: null | The time zone (e.g., 'America/Los_Angeles'); defaults to UTC. |"]]