• <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 閱讀(5858) 評論(0)  編輯 收藏 引用 所屬分類: C++語言

            <2007年5月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            常用鏈接

            留言簿(4)

            隨筆分類(64)

            隨筆檔案(58)

            文章分類(3)

            文章檔案(3)

            相冊

            收藏夾(9)

            C++零碎

            好友

            搜索

            •  

            積分與排名

            • 積分 - 160870
            • 排名 - 163

            最新評論

            閱讀排行榜

            評論排行榜

            久久久久av无码免费网| 国产精品xxxx国产喷水亚洲国产精品无码久久一区 | 人人狠狠综合久久亚洲88| 国产99久久久久久免费看| 国产精品乱码久久久久久软件| 久久久久人妻一区精品色| 久久精品国产精品亜洲毛片| 日韩人妻无码精品久久久不卡| 99久久精品国产一区二区| 亚洲伊人久久精品影院| 久久国产热这里只有精品| 久久超乳爆乳中文字幕| 久久亚洲日韩看片无码| 久久se这里只有精品| 精品国产VA久久久久久久冰| 久久久精品久久久久久| 国内精品伊人久久久久| 亚洲AV日韩精品久久久久| 色婷婷久久久SWAG精品| 一本色道久久88加勒比—综合| 亚洲精品国精品久久99热一| 久久夜色精品国产噜噜亚洲a| 成人午夜精品久久久久久久小说| 77777亚洲午夜久久多人| 亚洲国产天堂久久久久久| 久久久久久久久久免免费精品| 91久久精一区二区三区大全| 少妇高潮惨叫久久久久久| 久久婷婷五月综合97色直播 | 精品久久久久中文字幕日本| 亚洲人成伊人成综合网久久久| 奇米影视7777久久精品人人爽| 99久久综合国产精品免费| 久久国产AVJUST麻豆| 国内高清久久久久久| 色欲av伊人久久大香线蕉影院| 久久亚洲sm情趣捆绑调教| 综合久久国产九一剧情麻豆| 午夜天堂精品久久久久| 99久久国语露脸精品国产| 青青国产成人久久91网|