Date
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงวันที่ในปฏิทินทั้งวัน เช่น วันเกิด มีการระบุเวลาของวันและเขตเวลาไว้ที่อื่นหรือไม่สําคัญ วันที่จะสัมพันธ์กับปฏิทินเกรโกเรียนแบบโปรเลปติก วันที่ต้องเป็นวันที่ในปฏิทินระหว่างปี 1 ถึง 9999
การแสดง JSON |
{
"year": integer,
"month": integer,
"day": integer
} |
ช่อง |
year |
integer
ปีของวันที่ ต้องมีค่าระหว่าง 1 ถึง 9999
|
month |
integer
เดือนของวันที่ ต้องมีค่าระหว่าง 1 ถึง 12
|
day |
integer
วันของเดือน ต้องมีค่าระหว่าง 1 ถึง 31 และเป็นวันที่ที่ถูกต้องสำหรับปีและเดือน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# Date\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.\n\n| JSON representation |\n|---------------------------------------------------------------|\n| ``` { \"year\": integer, \"month\": integer, \"day\": integer } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------|\n| `year` | `integer` Year of date. Must be from 1 to 9999. |\n| `month` | `integer` Month of date. Must be from 1 to 12. |\n| `day` | `integer` Day of month. Must be from 1 to 31 and valid for the year and month. |"]]