- Picture and text skills
- Case
Returns a serial number that represents a specific date. If the cell format is General before entering the function, the result will be formatted as a date.
Grammar
DATE(year,month,day)
• Year parameter year can be one to four digits.
1. If year is between 0 (zero) and 1899 (inclusive), the WPS table will add 1900 to the value and then calculate the year.
For example: DATE(108,1,2) will return January 2, 2008 (1900+108).
2. If year is between 1900 and 9999 (inclusive), the WPS table will use this value as the year.
Example: DATE(2008,1,2) will return January 2, 2008.
3. If year is less than 0 or greater than or equal to 10000, the WPS table will return the error value #NUM!.
• Month represents the number of the month of the year. If the entered month is greater than 12, the number will be calculated from January of the specified year upwards.
Example: DATE(2008,14,2) returns the serial number representing February 2, 2009.
• Day represents the day of the month. If day is greater than the maximum number of days in the month, it will be accumulated from the first day of the specified month upwards.
For example, DATE(2008,1,35) returns the sequence number representing February 4, 2008.
When we want to convert the dates in the table into a specific format, we will use the DATE function, which can help us generate symbols for specific dates.
Let's take a look at the actual operation in this table. Select cell (B2), search for the function DATE, click Select, and click OK.
According to the data in the table, fill in 2020 in the year, 8 in the month, and 8 in the day. Click OK to see
Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/qiao-miao-ying-yong-DATE-han-shu-ri-qi-ge-shi-zhuan-huan-ji-qiao.html
![支付宝扫一扫](/wpcom/picture/wechat_shoukuan.jpg)
评论列表(196条)
测试