Returns the serial number of a particular date.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
DATE(year, month, day)The DATE function creates a valid date value from individual year, month, and day components. It is particularly useful when date components are stored in separate cells or generated by other formulas.
=DATE(2023, 12, 25)ผลลัพธ์: 2023-12-25
Returns the date for December 25, 2023.
The function adds that number of months to the first month of the specified year.