ee.Algorithms.Date
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างวันที่
การใช้งาน | การคืนสินค้า |
---|
ee.Algorithms.Date(value, timeZone) | วันที่ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
value | วัตถุ | ตัวเลข (ตีความเป็นมิลลิวินาทีตั้งแต่ 1970-01-01T00:00:00Z) หรือสตริง เช่น "1996-01-01" หรือ "1996-001" หรือ "1996-01-01T08:00" |
timeZone | สตริง ค่าเริ่มต้น: null | เขตเวลา (เช่น 'America/Los_Angeles'); ค่าเริ่มต้นคือ UTC |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]