• <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++標(biāo)準(zhǔn)庫中用來計算時間差的函數(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++標(biāo)準(zhǔn)庫用來格式化輸出時間字符串
            頭文件 < 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 閱讀(5865) 評論(0)  編輯 收藏 引用 所屬分類: C++語言

            <2007年8月>
            2930311234
            567891011
            12131415161718
            19202122232425
            2627282930311
            2345678

            常用鏈接

            留言簿(4)

            隨筆分類(64)

            隨筆檔案(58)

            文章分類(3)

            文章檔案(3)

            相冊

            收藏夾(9)

            C++零碎

            好友

            搜索

            •  

            積分與排名

            • 積分 - 161397
            • 排名 - 163

            最新評論

            閱讀排行榜

            評論排行榜

            无码任你躁久久久久久久| 久久免费小视频| 伊人久久大香线蕉综合5g| 一级a性色生活片久久无| 伊人精品久久久久7777| 色偷偷久久一区二区三区| 久久香蕉国产线看观看99| 三级片免费观看久久| 无码久久精品国产亚洲Av影片| 91精品国产91久久综合| 久久久久国产一区二区| 欧美大香线蕉线伊人久久| 国产精品午夜久久| 日韩精品久久无码人妻中文字幕| 国产99精品久久| 久久综合亚洲鲁鲁五月天| 99国内精品久久久久久久 | 久久免费高清视频| 久久亚洲sm情趣捆绑调教| 欧美久久精品一级c片片| AV无码久久久久不卡蜜桃| 大蕉久久伊人中文字幕| 亚洲精品乱码久久久久久蜜桃不卡| 久久99精品国产麻豆蜜芽| 国内精品伊人久久久久| 伊人久久大香线焦AV综合影院| 精品久久久久中文字幕一区| 97久久天天综合色天天综合色hd| 思思久久99热只有频精品66| 99久久国产综合精品五月天喷水| 97久久综合精品久久久综合| 国产亚洲精久久久久久无码77777| 久久亚洲2019中文字幕| 久久99国产精品久久| 久久久久久久人妻无码中文字幕爆 | 99蜜桃臀久久久欧美精品网站| 久久久久国产精品嫩草影院| 精品国产91久久久久久久a| 伊人久久大香线蕉精品| 一本久久久久久久| 精品水蜜桃久久久久久久|