Google Sheets - DATE function
DATE function generates a date given year, month, and day. For example, DATE(2020, 5, 18) returns 5/18/2020.
Syntax
DATE(year, month, day)Example
Notes
- If a month or day is too big or small to be legitimate date, it will be converted silently. For example, if the month part is 13, it will be automatically converted into 1 by adding 1 to the year part. Similar is for the day part.
- Decimals will be truncated so 12.75 is same as 12.
- Year should be between 0 and 9999.
Comments
Post a Comment