Ordinary characters (including the terminating '\0') are copied into s. Each %c is replaced as described below,
using values appropriate for the local environment.
No more than smax characters are placed into s. strftime returns the number of characters, excluding the '\0',
or zero if more than smax characters were produced.
%a abbreviated weekday name.
%A full weekday name.
%b abbreviated month name.
%B full month name.
%c local date and time representation.
%d day of the month (01-31).
%H hour (24-hour clock) (00-23).
%I hour (12-hour clock) (01-12).
%j day of the year (001-366).
%m month (01-12).
%M minute (00-59).
%p local equivalent of AM or PM.
%S second (00-61).
%U week number of the year (Sunday as 1st day of week) (00-53).
%w weekday (0-6, Sunday is 0).
%W week number of the year (Monday as 1st day of week) (00-53).
%x local date representation.
%X local time representation.
%y year without century (00-99).
%Y year with century.
%Z time zone name, if any.
%%%
信捷屏C语言日期函数的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于c语言 日期函数、信捷屏C语言日期函数的信息别忘了在本站进行查找喔 。
推荐阅读
- 微信公众号及粉丝维护,微信公众号及粉丝维护平台
- python对连续数据进行小波变换,python小波分析
- 前端字体加粗css,前端字体加粗标签
- php定时扫描数据库 php定时刷新
- java弹出窗体代码,java弹出结果窗口代码
- oracle安装之后缺文件,oracle11g安装找不到文件
- 怎么成为虚拟主机,虚拟主机教程
- c语言函数没有形参吗 c语言函数中可以没有形参吗
- js判断日期对象格式,js判断日期相差天数