Returns the day of the month for a given date as a number from 1 to 31.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
DAY(serial_number)The DAY function extracts the day component from a date value. The result is an integer representing the day of the month, ranging from 1 to 31.
=DAY("2023-10-15")Kết quả: 15
Extracts the day from October 15, 2023.
The function will return a #VALUE! error.