Excel中DAY函数的语法和用法
时间:2023-09-20 08:40:43
函数说明
DAY函数的主要作用是返回以序列号表示的某日期的天数,用整数 1 到 31 表示。
函数语法DAY(serial_number)
DAY(要查找的那一天的日期)
DAY(serial_number)
DAY(要查找的那一天的日期)
参数说明
Serial_number:为要查找的那一天的日期。应使用 DATE 函数来输入日期,或者将日期作为其他公式或函数的结果输入。例如,可使用函数 DATE(2008,5,23) 输入日期 2008 年 5 月 23 日。如果日期以文本的形式输入,则会出现问题。
函数备注
Microsoft Excel 可将日期存储为可用于计算的序列号。默认情况下,1900 年 1 月 1 日的序列号是 1 而 2008 年 1 月 1 日的序列号是 39448,这是因为它距 1900 年 1 月 1 日有 39448 天。Microsoft Excel for the Macintosh 使用另外一个默认日期系统。
不论日期值以何种格式显示,YEAR,MONTH 和 DAY 函数返回的值都是 Gregorian 值。例如,如果日期的显示格式是回历,则 YEAR、MONTH 和 DAY 函数返回的值将是与相同的 Gregorian 日期相关联的值。
函数示例
公式 | 结果 | 说明 |
=DAY("2018-3-23") | 23 | 上述日期的天数 |
以下是Excel中使用DAY函数效果截图
标签:DAY函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
电脑安装后的软件不在桌面怎么办?win11安装后的软件不在桌面解决方法
2023-01-27 01:46:01
![](https://img.aspxhome.com/file/2023/28/a240659_0s.jpg)
只需五个小技巧便能让xp系统更快运行
2022-03-02 06:51:52
借助网盘OneDrive的技巧远程取回Win7电脑任何文件
2023-08-16 23:30:31
![](https://img.aspxhome.com/file/2023/29/a255350_0s.jpg)
Win10进入temp账户怎么办?Win10进入temp账户解决方法
2023-01-21 17:12:24
![](https://img.aspxhome.com/file/2023/26/a219469_0s.jpg)
如何在wps文字中取消剪贴板显示
2022-08-12 12:33:46
win7系统去除网页上小广告烦恼的三个步骤
2022-05-19 05:44:48
![](https://img.aspxhome.com/file/2023/29/a253460_0s.png)
Office Word 2007怎么从非首页(某一页)设置页码?
2022-10-07 20:17:11
![](https://img.aspxhome.com/file/2023/9/29039_0s.jpg)
Win10电脑C盘变红满了怎么清理?
2023-04-11 19:51:49
![](https://img.aspxhome.com/file/2023/26/a222077_0s.jpg)
在Word文档里插入Excel的方法
2022-10-04 15:23:52
Win10系统开始菜单如何取消常用程序列表的的解决方法
2022-02-09 23:03:54
![](https://img.aspxhome.com/file/2023/3/a296967_0s.jpg)
win10系统睡眠功能丢失怎么办?如何修复win10系统睡眠功能失效的问题?
2023-08-22 05:47:53
![](https://img.aspxhome.com/file/2023/6/46926_0s.png)
如何将用户改为管理员?Win7标准用户设为管理员的方法
2022-07-28 15:42:53
![](https://img.aspxhome.com/file/2023/27/a230923_0s.jpg)
wps演示怎么制作动画效果
2023-10-17 23:15:16
老电脑怎么重装Win10?系统之家一键重装Win10系统步骤
2023-03-19 15:33:12
![](https://img.aspxhome.com/file/2023/1/a274456_0s.png)
Win10 如何修改屏幕分辨率
2023-11-08 06:58:20
![](https://img.aspxhome.com/file/2023/30/a263475_0s.png)
kernel data inpage error蓝屏代码的修复方法
2023-03-22 13:06:16
![](https://img.aspxhome.com/file/2023/30/a267320_0s.jpg)
win10的桌面背景在哪个文件夹?window10桌面背景图片文件在哪里
2022-12-19 00:06:20
![](https://img.aspxhome.com/file/2023/30/a269833_0s.png)
win10电脑ntldr文件丢失导致系统无法开机怎么办?
2022-08-25 10:24:29
![](https://img.aspxhome.com/file/2023/3/a296628_0s.png)
win7系统QQ语音有杂音、回音的解决方法(图文)
2022-08-06 11:44:07
![](https://img.aspxhome.com/file/2023/29/a254195_0s.jpg)
购物大厅APP出现卡顿不能使用怎么办?购物大厅APP出现卡顿不能使用的解决方法
2023-12-27 12:26:27
![](https://img.aspxhome.com/file/2023/8/a335193_0s.jpg)