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

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 閱讀(876) 評(píng)論(0)  編輯 收藏 引用

只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   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>
            一区二区亚洲欧洲国产日韩| 欧美精品一区二区三区蜜桃| 模特精品裸拍一区| 久久riav二区三区| 欧美亚洲三级| 久久国产精品网站| 久久青青草综合| 欧美国产日韩一二三区| 最新国产乱人伦偷精品免费网站| 免费毛片一区二区三区久久久| 欧美电影免费| 亚洲激情女人| 日韩一本二本av| 亚洲影视综合| 久久综合久久88| 欧美mv日韩mv国产网站app| 老鸭窝毛片一区二区三区| 男人插女人欧美| 欧美日韩免费一区二区三区视频| 欧美日韩精品免费观看| 欧美视频一二三区| 国产欧美日韩在线 | 国产精品a久久久久久| 国产精品扒开腿爽爽爽视频| 国产女优一区| 狠狠久久亚洲欧美| 一区二区三区国产| 麻豆精品精品国产自在97香蕉| 91久久精品一区| 欧美一区二区三区精品| 欧美久久婷婷综合色| 国内精品久久久久久影视8 | 亚洲理伦电影| 久久精品国产一区二区三| 欧美精品一区二区久久婷婷| 国产综合激情| 午夜精品影院| 亚洲精品欧美精品| 久久婷婷麻豆| 老鸭窝亚洲一区二区三区| 亚洲美女精品成人在线视频| 久久精品视频免费观看| 日韩一区二区福利| 欧美大片在线观看| 伊人婷婷久久| 久久精品视频播放| 亚洲中午字幕| 国产精品进线69影院| 亚洲人精品午夜| 欧美日韩调教| 精品不卡视频| 欧美一区二区三区免费看| 欧美高清视频一二三区| 小嫩嫩精品导航| 国产精品一区二区三区观看| 亚洲毛片在线| 亚洲大片精品永久免费| 久久久亚洲国产天美传媒修理工| 国产精品视频一二三| 一区二区三区 在线观看视频| 欧美激情一区| 另类专区欧美制服同性| 精品福利电影| 欧美91精品| 久久精品盗摄| 国内久久婷婷综合| 久久精品免费观看| 久久国产欧美日韩精品| 国产精品欧美久久| 午夜久久久久久| 亚洲欧美日韩精品综合在线观看| 欧美日韩亚洲天堂| 亚洲伦理在线| 亚洲日本免费| 欧美亚洲不卡| 欧美亚洲自偷自偷| 欧美在线999| 国产婷婷色一区二区三区在线 | 亚洲欧洲一区二区在线播放| 欧美国产日韩在线| 欧美人与性动交a欧美精品| 亚洲桃花岛网站| 亚洲女人av| 亚洲第一毛片| 日韩视频不卡| 国产日韩欧美三区| 欧美h视频在线| 欧美日韩国产亚洲一区| 欧美一区日本一区韩国一区| 久久er99精品| 亚洲欧洲综合| 亚洲午夜激情在线| 狠狠88综合久久久久综合网| 女仆av观看一区| 欧美日韩视频第一区| 亚洲视屏在线播放| 亚洲天堂久久| 亚洲国产精品一区在线观看不卡| 亚洲精品人人| 国产精品99久久久久久www| 国产精品日韩| 欧美二区视频| 欧美成人一区二区三区片免费| 亚洲一区二区欧美| 欧美一区二区三区在| 国产精品99久久久久久有的能看| 欧美在线免费观看| 一本色道久久综合亚洲二区三区| 亚洲视频成人| 亚洲精选视频免费看| 欧美一区二区视频免费观看| 中国亚洲黄色| 欧美高清在线观看| 久久九九99| 国产精品久久久久毛片软件| 快she精品国产999| 国产精品午夜av在线| 91久久精品网| 一区国产精品| 性欧美办公室18xxxxhd| 一区二区三区日韩欧美精品| 久久天天综合| 久久av二区| 国产精品乱码一区二三区小蝌蚪 | 一区二区精品在线| 在线欧美电影| 欧美在线播放一区二区| 亚洲一区二区综合| 欧美日韩成人综合在线一区二区| 免费观看在线综合色| 国产精品专区h在线观看| 一本一道久久综合狠狠老精东影业 | 久久综合中文字幕| 国产精品一二| 在线视频免费在线观看一区二区| 亚洲免费激情| 91久久久久| 篠田优中文在线播放第一区| 亚洲欧洲日韩综合二区| 久久精品欧美日韩| 久久欧美中文字幕| 国产日韩欧美三级| 欧美一级久久| 久久国产欧美日韩精品| 国产老肥熟一区二区三区| 一本到高清视频免费精品| 亚洲色在线视频| 欧美女激情福利| 亚洲精品乱码久久久久久久久 | 国产嫩草一区二区三区在线观看 | 久久国产99| 亚洲免费视频在线观看| 欧美日韩亚洲综合在线| av成人毛片| 亚洲午夜日本在线观看| 国产精品久久久久毛片软件| 亚洲免费在线视频一区 二区| 亚洲——在线| 国产中文一区二区| 久久成人免费| 亚洲国产成人久久综合一区| 一区二区三区欧美日韩| 欧美精品在线网站| 一区二区三区波多野结衣在线观看| 亚洲午夜一区二区三区| 国产精品高潮在线| 亚洲永久在线| 欧美黑人在线播放| 亚洲一区二区三区免费观看| 国产农村妇女毛片精品久久麻豆| 久久国产精品久久久久久电车| 免费看黄裸体一级大秀欧美| 一区二区三区视频在线| 国产精品自在线| 美日韩精品视频| 亚洲一区二区视频在线观看| 久久夜精品va视频免费观看| 在线亚洲欧美| 狠狠久久综合婷婷不卡| 欧美高清视频在线观看| 在线观看日韩欧美| 欧美日韩在线一区二区三区| 午夜亚洲精品| 亚洲第一二三四五区| 亚洲一区二区网站| 亚洲国内在线| 国产精品一区二区三区成人| 麻豆亚洲精品| 亚洲欧美在线高清| 亚洲精品国产精品国自产观看| 新狼窝色av性久久久久久| 136国产福利精品导航网址| 亚洲在线播放电影| 亚洲日本欧美| 久久久久久久久岛国免费| 在线视频欧美日韩| 亚洲国产精品高清久久久| 激情五月综合色婷婷一区二区| 亚洲卡通欧美制服中文| 亚洲国产美女|