• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 58,  comments - 75,  trackbacks - 0
            C++標準庫中用來計算時間差的函數(shù)
            頭文件 < time.h >

            double difftime(
               time_t timer1,
               time_t timer0
            );
            double _difftime32(
                  __time32_t timer1,
               __time32_t timer0
            );
            double _difftime64(
               __time64_t timer1,
               __time64_t timer0
            );

            C++標準庫用來格式化輸出時間字符串
            頭文件 < time.h >

            size_t strftime(
               char *strDest,
               size_t maxsize,
               const char *format,
               const struct tm *timeptr
            );
            size_t _strftime_l(
               char *strDest,
               size_t maxsize,
               const char *format,
               const struct tm *timeptr,
               _locale_t locale
            );
            size_t wcsftime(
               wchar_t *strDest,
               size_t maxsize,
               const wchar_t *format,
               const struct tm *timeptr
            );
            size_t _wcsftime_l(
               wchar_t *strDest,
               size_t maxsize,
               const wchar_t *format,
               const struct tm *timeptr,
               _locale_t locale
            );

            The formatting codes for strftime are listed below:

            %a
                Abbreviated weekday name

            %A
                Full weekday name

            %b
                Abbreviated month name

            %B
                Full month name

            %c
                Date and time representation appropriate for locale

            %d
                Day of month as decimal number (01 – 31)

            %H
                Hour in 24-hour format (00 – 23)

            %I
                Hour in 12-hour format (01 – 12)

            %j
                Day of year as decimal number (001 – 366)

            %m
                Month as decimal number (01 – 12)

            %M
                Minute as decimal number (00 – 59)

            %p
                Current locale's A.M./P.M. indicator for 12-hour clock

            %S
                Second as decimal number (00 – 59)

            %U
                Week of year as decimal number, with Sunday as first day of week (00 – 53)

            %w
                Weekday as decimal number (0 – 6; Sunday is 0)

            %W
                Week of year as decimal number, with Monday as first day of week (00 – 53)

            %x
                Date representation for current locale

            %X
                Time representation for current locale

            %y
                Year without century, as decimal number (00 – 99)

            %Y
                Year with century, as decimal number

            %z, %Z
                Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown

            %%
                Percent sign
            posted on 2007-05-25 15:30 walkspeed 閱讀(5874) 評論(0)  編輯 收藏 引用 所屬分類: C++語言

            <2025年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            常用鏈接

            留言簿(4)

            隨筆分類(64)

            隨筆檔案(58)

            文章分類(3)

            文章檔案(3)

            相冊

            收藏夾(9)

            C++零碎

            好友

            搜索

            •  

            積分與排名

            • 積分 - 161952
            • 排名 - 163

            最新評論

            閱讀排行榜

            評論排行榜

            66精品综合久久久久久久| 久久精品aⅴ无码中文字字幕重口| 精品九九久久国内精品| a级毛片无码兔费真人久久| 无码国内精品久久人妻麻豆按摩| 久久久久亚洲AV无码专区首JN| 久久精品中文无码资源站| 久久久99精品成人片中文字幕| 无码AV波多野结衣久久| 久久久网中文字幕| 狠狠狠色丁香婷婷综合久久五月 | 久久久久久久女国产乱让韩| 亚洲精品蜜桃久久久久久| 精品国产青草久久久久福利| 午夜人妻久久久久久久久| 人妻无码久久精品| 国产午夜福利精品久久| 一本色道久久综合狠狠躁| 一极黄色视频久久网站| 久久成人18免费网站| 久久久久国产精品| 久久久久久人妻无码| 少妇熟女久久综合网色欲| 久久久久免费视频| 久久99精品九九九久久婷婷| 99久久免费国产精品| AA级片免费看视频久久| 91精品久久久久久无码| 国产麻豆精品久久一二三| 狠狠综合久久综合88亚洲| 久久婷婷五月综合国产尤物app| 精品久久人人做人人爽综合| 久久精品草草草| 国产欧美久久一区二区| 亚洲AV日韩AV永久无码久久| 亚洲中文字幕无码久久综合网| 狠狠色丁香久久婷婷综合蜜芽五月 | 久久久久久国产精品免费免费| 亚洲午夜久久久精品影院| 青青热久久综合网伊人| 久久国产精品99久久久久久老狼|