Hàm EDATE

The result is a date which is a number of months away from the start date. Only months are considered; days are not used for calculation.

Cú pháp

EDATE(Ngày_đầu; Tháng)

Ngày_đầu là ngày bắt đầu, một ngày tháng.

Tháng là số các tháng nằm trước (âm) hay sau (dương) ngày bắt đầu.

Ví dụ

What date is one month prior to 2001-03-31?

=EDATE("2001-03-31";-1) returns the serial number 36950. Formatted as a date, this is 2001-02-28.