• <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)庫(kù)中用來(lái)計(jì)算時(shí)間差的函數(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)庫(kù)用來(lái)格式化輸出時(shí)間字符串
            頭文件 < 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) 評(píng)論(0)  編輯 收藏 引用 所屬分類(lèi): C++語(yǔ)言

            <2007年3月>
            25262728123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(4)

            隨筆分類(lèi)(64)

            隨筆檔案(58)

            文章分類(lèi)(3)

            文章檔案(3)

            相冊(cè)

            收藏夾(9)

            C++零碎

            好友

            搜索

            •  

            積分與排名

            • 積分 - 161402
            • 排名 - 163

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            欧美午夜精品久久久久免费视 | 国产精品欧美久久久天天影视| 少妇久久久久久久久久| AV无码久久久久不卡网站下载 | 久久人与动人物a级毛片| 久久精品水蜜桃av综合天堂| 99久久国产综合精品成人影院| 尹人香蕉久久99天天拍| 国产A三级久久精品| 国产精品美女久久久久av爽| 精品久久久久久无码不卡| 久久精品国产99久久久| 亚洲综合久久夜AV | 丰满少妇人妻久久久久久4| 人妻无码精品久久亚瑟影视| segui久久国产精品| 色综合久久中文字幕无码| 性欧美大战久久久久久久| 久久国产免费观看精品| 久久精品国产亚洲AV高清热| 伊人久久综合无码成人网| 欧美久久久久久午夜精品| 91精品国产91久久久久久蜜臀| 亚洲国产另类久久久精品黑人| 久久夜色撩人精品国产| 久久亚洲综合色一区二区三区| 久久亚洲精品成人AV| 伊人久久大香线蕉av不变影院| 久久国产精品波多野结衣AV| 日本福利片国产午夜久久| 精品久久久久久无码专区不卡| 无码伊人66久久大杳蕉网站谷歌| 伊人久久大香线蕉AV一区二区| 国内精品久久久久久久久| 国产成人久久精品二区三区| 国内精品伊人久久久久| 久久中文娱乐网| 四虎国产精品免费久久久| 久久综合九色综合欧美狠狠| 久久er国产精品免费观看8| 久久久WWW免费人成精品|