青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Matrix
Klarke's C/C++ Home
posts - 61,comments - 0,trackbacks - 0

Here are a few examples. Also see the documentation for the `-d' option in the previous section.

  • To print the date of the day before yesterday:
    date --date='2 days ago'
    
  • To print the date of the day three months and one day hence:
    date --date='3 months 1 day'
    
  • To print the day of year of Christmas in the current year:
    date --date='25 Dec' +%j
    
  • To print the current full month name and the day of the month:
    date '+%B %d'
    
    But this may not be what you want because for the first nine days of the month, the `%d' expands to a zero-padded two-digit field, for example `date -d 1may '+%B %d'' will print `May 01'.
  • To print a date without the leading zero for one-digit days of the month, you can use the (GNU extension) - modifier to suppress the padding altogether.
    date -d=1may '+%B %-d'
    
  • To print the current date and time in the format required by many non-GNU versions of date when setting the system clock:
    date +%m%d%H%M%Y.%S
    
  • To set the system clock forward by two minutes:
    date --set='+2 minutes'
    
  • To print the date in the format specified by RFC-822, use `date --rfc'. I just did and saw this:
    Mon, 25 Mar 1996 23:34:17 -0600
    
  • To convert a date string to the number of seconds since the epoch (which is 1970-01-01 00:00:00 UTC), use the `--date' option with the `%s' format. That can be useful in sorting and/or graphing and/or comparing data by date. The following command outputs the number of the seconds since the epoch for the time one second later than the epoch, but in time zone five hours later (Cambridge, Massachusetts), thus a total of five hours and one second after the epoch:
    date --date='1970-01-01 00:00:01 UTC +5 hours' +%s
    18001
    
    Suppose you had not specified time zone information in the example above. Then, date would have used your computer's idea of the time zone when interpreting the string. Here's what you would get if you were in Greenwich, England:
    # local time zone used
    date --date='1970-01-01 00:00:01' +%s
    1
    
  • If you're sorting or graphing dated data, your raw date values may be represented as seconds since the epoch. But few people can look at the date `946684800' and casually note "Oh, that's the first second of the year 2000."
    date --date='2000-01-01 UTC' +%s
    946684800
    
    To convert such an unwieldy number of seconds back to a more readable form, use a command like this:
    date -d '1970-01-01 946684800 sec' +"%Y-%m-%d %T %z"
    2000-01-01 00:00:00 +0000
    
posted on 2011-08-05 15:59 Klarke 閱讀(867) 評論(0)  編輯 收藏 引用

只有注冊用戶登錄后才能發(fā)表評論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            亚洲伦理精品| 久久精品一二三| 久久一二三四| 久久躁狠狠躁夜夜爽| 国产乱人伦精品一区二区 | 久热精品视频在线| 欧美aⅴ一区二区三区视频| 亚洲美女91| 午夜精品成人在线| 亚洲欧洲日本专区| 亚洲一区二区视频| 亚洲国产精品欧美一二99| 99精品久久久| 黄色成人免费观看| 在线中文字幕一区| 一色屋精品视频免费看| 日韩一区二区免费看| 欧美电影免费观看大全| 欧美一区二区三区喷汁尤物| 你懂的视频一区二区| 性做久久久久久久久| 欧美激情第一页xxx| 久久久亚洲影院你懂的| 国产精品成人一区二区网站软件| 蜜乳av另类精品一区二区| 欧美午夜不卡影院在线观看完整版免费| 久久久999成人| 国产精品福利网| 亚洲精品美女久久7777777| 国产精品网红福利| 亚洲欧洲精品一区二区| 亚洲承认在线| 欧美在线你懂的| 午夜精品在线看| 欧美日韩激情小视频| 欧美国产在线视频| 一区二区视频在线观看| 亚洲欧美日韩一区| 亚洲欧美国产va在线影院| 欧美黄网免费在线观看| 欧美成人网在线| 国产亚洲人成a一在线v站| 亚洲天堂偷拍| 亚洲免费在线电影| 欧美亚日韩国产aⅴ精品中极品| 亚洲激情二区| 亚洲三级毛片| 鲁大师成人一区二区三区| 久久夜色精品国产亚洲aⅴ| 国产欧美一区二区三区久久 | 99在线精品视频在线观看| 久久亚洲私人国产精品va| 久久尤物电影视频在线观看| 国产在线拍偷自揄拍精品| 欧美一区二区三区四区在线 | 久久久久看片| 国产日韩欧美一区二区三区在线观看 | 欧美一级成年大片在线观看| 欧美一区视频| 国产欧美精品一区二区色综合| 亚洲一二三四区| 午夜精品久久久| 国产精品夜色7777狼人| 亚洲综合激情| 久久精品成人| 亚洲国产91| 欧美高潮视频| 99精品热视频| 欧美一区激情| 亚洲国产成人高清精品| 欧美国产乱视频| 一本色道久久| 久久精品国产成人| 伊人久久综合97精品| 蜜臀av国产精品久久久久| 亚洲激情女人| 亚洲欧美色一区| 国产一区二区三区免费观看| 久久青草久久| 亚洲三级免费| 午夜精品一区二区三区电影天堂| 国产视频精品xxxx| 开心色5月久久精品| 亚洲激情av在线| 性色一区二区| 91久久久久久久久| 欧美三级视频在线播放| 欧美一级免费视频| 亚洲国产天堂久久国产91| 亚洲综合欧美日韩| 激情综合久久| 欧美日韩在线观看视频| 亚久久调教视频| 亚洲经典在线看| 久久xxxx精品视频| 日韩一区二区精品视频| 国产日韩精品久久久| 欧美黄色网络| 久久成人在线| 中文日韩电影网站| 欧美激情亚洲自拍| 欧美专区在线播放| 一区二区高清视频| 在线成人黄色| 国产精品久久久久77777| 免费观看日韩| 欧美在线亚洲| 亚洲在线视频观看| 亚洲精品一区二区三区在线观看| 久久亚洲精品一区二区| 亚洲欧美日韩精品久久久| 91久久精品网| 亚洲第一久久影院| 国产夜色精品一区二区av| 欧美四级电影网站| 欧美丰满高潮xxxx喷水动漫| 久久精品视频播放| 亚洲欧美日韩精品| 亚洲欧美日韩精品久久久久| 亚洲剧情一区二区| 欧美成人精品h版在线观看| 午夜精品久久久久久久蜜桃app | 欧美一级精品大片| 亚洲网站视频福利| 欧美激情麻豆| 久久久噜噜噜久久中文字幕色伊伊 | 在线视频你懂得一区| 免费久久精品视频| 亚洲一区二区成人| 国产精品一国产精品k频道56| 蜜臀99久久精品久久久久久软件 | 亚洲六月丁香色婷婷综合久久| 国产婷婷精品| 欧美午夜片欧美片在线观看| 久热精品视频在线观看| 亚洲剧情一区二区| 亚洲精品视频在线看| 欧美.www| 久久女同互慰一区二区三区| 香蕉成人久久| 欧美一区二区三区精品| 亚洲视频高清| 一区二区三区精品| 亚洲人成啪啪网站| 国产精品日本欧美一区二区三区| 欧美色中文字幕| 欧美日韩ab片| 欧美日韩国产综合在线| 乱码第一页成人| 免费成人黄色av| 欧美成人久久| 欧美aa国产视频| 另类天堂av| 浪潮色综合久久天堂| 亚洲在线一区二区| 欧美一区二区视频免费观看| 亚洲欧美成人一区二区三区| 中文日韩电影网站| 亚洲永久在线| 日韩午夜激情电影| 亚洲资源在线观看| 午夜精品成人在线| 久久爱www久久做| 久久精品国产精品| 亚洲一区二区免费看| 亚洲永久在线观看| 欧美一区二区三区喷汁尤物| 亚洲欧美日韩直播| 久久不射2019中文字幕| 久久久久在线| 美女诱惑黄网站一区| 欧美成人在线网站| 欧美日韩国产综合新一区| 欧美系列精品| 国产私拍一区| 亚洲欧洲日本国产| 亚洲欧洲一区二区三区| 亚洲综合视频网| 久久激情综合网| 卡通动漫国产精品| 亚洲国产精品久久久久婷婷884| 一区二区三区久久精品| 亚洲欧美色婷婷| 久久久999精品免费| 免费日韩av| 免费看的黄色欧美网站| 国产精品扒开腿做爽爽爽软件| 国产精品视频yy9299一区| 国内精品久久久久久影视8| 亚洲成色www8888| 欧美一区二区三区婷婷月色| 欧美成人a∨高清免费观看| 亚洲人精品午夜在线观看| 亚洲一区二区视频在线观看| 久久尤物视频| 亚洲精品欧美极品| 欧美一级成年大片在线观看| 麻豆精品一区二区av白丝在线| 欧美一区日韩一区| 欧美在线日韩在线|