中易网

mysql中 date_formath函数中 %后的大小写有什么区别呢?

答案:1  悬赏:30  
解决时间 2021-03-24 08:52
mysql中 date_formath函数中 %后的大小写有什么区别呢?
最佳答案
题主问题回复:
%IHour (01..12)
%iMinutes, numeric (00..59)
%SSeconds (00..59)
%sSeconds (00..59)

其他参考:
Specifier Description

%aAbbreviated weekday name (Sun..Sat)
%bAbbreviated month name (Jan..Dec)
%cMonth, numeric (0..12)
%DDay of the month with English suffix (0th, 1st, 2nd, 3rd, …)
%dDay of the month, numeric (00..31)
%eDay of the month, numeric (0..31)
%fMicroseconds (000000..999999)
%HHour (00..23)
%hHour (01..12)
%jDay of year (001..366)

%kHour (0..23)
%lHour (1..12)
%MMonth name (January..December)
%mMonth, numeric (00..12)
%pAM or PM
%rTime, 12-hour (hh:mm:ss followed by AM or PM)
%TTime, 24-hour (hh:mm:ss)

%UWeek (00..53), where Sunday is the first day of the week
%uWeek (00..53), where Monday is the first day of the week
%VWeek (01..53), where Sunday is the first day of the week; used with %X
%vWeek (01..53), where Monday is the first day of the week; used with %x
%WWeekday name (Sunday..Saturday)
%wDay of the week (0=Sunday..6=Saturday)
%XYear for the week where Sunday is the first day of the week, numeric, four digits; used with %V
%xYear for the week, where Monday is the first day of the week, numeric, four digits; used with %v
%YYear, numeric, four digits
%yYear, numeric (two digits)
%%A literal “%” character
%xx, for any “x” not listed above
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
在excel中怎样使单元格与文字同步缩放
杞人忧天后传 300字 怎么写
廉江市良垌镇要建飞机场是不是?
派出所跟社区的协勤值夜班吗
薏仁粉和什么一起喝
三七花和蜂蜜一起喝能起到什么作用
经常喝黑豆豆浆好吗?
脾摘除后遗症
是个女孩,姓金,起一个比较中性的名字
二进制和十进制是怎么转换的啊,比如,知道25
车子(小轿车)掉入几十米深的江中,谁多久会淹
小尾寒羊大型养殖场
海尔液晶电视价格
66年农历2月14出生的今年真的会离婚吗?
那片星空那片海里第6集DJ叫什么
推荐资讯
联想 ThinkPad E40 笔记本 想加个内存条 换个
人为什么需要合群
大武平、你什么时候才能有电影院呢
女儿不能给妈妈买鞋吗?
南京哪里的意大利面好吃又便宜
开一家电镀厂需要什么设备前期投入需要多少钱
我现在是副科级公务员,拟调入参公单位,请问
魅蓝note如果刷机了怎么恢复以前通讯录号码?
冰柜盘管后霜挂满即化 挂满霜后又化掉了,回
腿上一颗大黑痣,有时周围痒
理光MP1610l复印机 如何进入维修菜单
无线网上有个感叹号 打开网页显示域名解析错
手机登qq时,显示手机磁盘不足,清理后重新登
刺客的套装怎么选啊?