• <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

            最新評論

            閱讀排行榜

            評論排行榜

            漂亮人妻被中出中文字幕久久 | 婷婷久久综合九色综合绿巨人| 久久香综合精品久久伊人| 99久久精品免费看国产一区二区三区 | 中文字幕成人精品久久不卡| 精品熟女少妇a∨免费久久| 久久精品国产99国产精品亚洲| 亚洲精品综合久久| 色偷偷91久久综合噜噜噜噜| 久久人妻少妇嫩草AV蜜桃| 久久精品亚洲欧美日韩久久| 久久青青草原精品国产不卡| 色偷偷91久久综合噜噜噜噜| 精品伊人久久大线蕉色首页| 久久久WWW免费人成精品| 精品久久久久久| 久久精品一区二区影院| 久久乐国产精品亚洲综合| 少妇被又大又粗又爽毛片久久黑人| 久久人人爽人爽人人爽av| 久久国产亚洲精品| 天天爽天天狠久久久综合麻豆| 国产精品久久久久久福利漫画| Xx性欧美肥妇精品久久久久久| 欧美国产精品久久高清| 久久国产精品无| 韩国无遮挡三级久久| 久久久久国产视频电影| 久久久久久精品免费免费自慰| 国内精品久久久久久99蜜桃| 久久97久久97精品免视看| 国产欧美久久久精品影院| 久久人人爽人人爽人人片av高请| 国产999精品久久久久久| 久久精品国产男包| 中文字幕久久欲求不满| 久久精品国产色蜜蜜麻豆| 国产成人久久久精品二区三区| 久久久久久精品成人免费图片| 狠狠综合久久综合中文88| 午夜天堂av天堂久久久|