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

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) 評論(0)  編輯 收藏 引用

只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   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>
            国产亚洲综合在线| 亚洲日产国产精品| 老司机精品久久| 欧美性天天影院| 亚洲专区一区二区三区| 欧美国产日韩二区| 国产精品手机视频| 免费观看一区| 激情欧美一区二区三区在线观看| 午夜精品久久久久久久| 一区二区久久| 99re66热这里只有精品4| 99国产精品99久久久久久| 亚洲免费高清| 亚洲视频图片小说| 亚洲专区一区| 亚洲国产一区二区a毛片| 欧美激情精品久久久久久黑人 | 欧美高清在线| 美女在线一区二区| 欧美精品一区二区三区很污很色的 | 国产亚洲综合性久久久影院| 国产一区在线播放| 精品成人免费| 99精品免费| 亚洲在线视频观看| 欧美专区第一页| 久久久在线视频| 欧美国产一区二区| 99视频国产精品免费观看| 亚洲一区二区三区在线| 亚洲欧美日韩另类| 久久亚洲综合色| 欧美精品 国产精品| 国产精品久久久91| 国产精品久久久久久久电影| 欧美视频在线观看| 狠狠色2019综合网| 日韩一级大片在线| 久久9热精品视频| 欧美黄色小视频| 宅男噜噜噜66一区二区66| 久久www成人_看片免费不卡| 欧美大片在线看| 国产欧美精品一区二区三区介绍| 亚洲国产精品久久久| 亚洲欧美日本国产专区一区| 欧美va天堂| 国产精品99久久久久久久久久久久 | 国产亚洲高清视频| 亚洲另类视频| 久久婷婷av| 先锋资源久久| 久久综合精品一区| 日韩一级不卡| 久久视频一区| 国产精品三上| 日韩视频不卡| 美女露胸一区二区三区| 亚洲午夜精品17c| 免费看亚洲片| 国产日韩欧美不卡在线| 日韩视频在线观看国产| 久久综合国产精品台湾中文娱乐网| 日韩视频永久免费| 久久综合狠狠综合久久综青草| 国产精品白丝jk黑袜喷水| 一区二区亚洲| 久久精品盗摄| 亚洲午夜女主播在线直播| 亚洲一区二区免费看| 欧美不卡激情三级在线观看| 午夜日韩激情| 国产精品成人播放| 亚洲日本aⅴ片在线观看香蕉| 久久国产免费看| 一区二区高清在线| 欧美成人精品激情在线观看| 国内外成人在线视频| 中日韩美女免费视频网址在线观看 | 亚洲一区二区黄| 欧美日本一道本| 最新国产成人av网站网址麻豆| 欧美在线啊v| 一区二区免费在线播放| 欧美精品久久天天躁| 亚洲国产美女| 最新国产の精品合集bt伙计| 久久久一区二区三区| 久久亚洲图片| 亚洲欧美日韩一区在线观看| 欧美午夜欧美| 99精品99久久久久久宅男| 麻豆91精品91久久久的内涵| 国产在线不卡| 久久精品一级爱片| 亚洲欧美国产精品专区久久| 国产精品高清网站| 在线综合视频| 亚洲精品乱码| 欧美日韩国产高清| 夜夜嗨av一区二区三区网页| 亚洲国产专区校园欧美| 欧美激情视频在线免费观看 欧美视频免费一| 精品成人免费| 美女免费视频一区| 久久久夜色精品亚洲| 在线播放日韩欧美| 美女啪啪无遮挡免费久久网站| 欧美在线播放视频| 韩国一区电影| 欧美3dxxxxhd| 久久影视三级福利片| 在线精品福利| 亚洲电影免费在线| 免费观看30秒视频久久| 亚洲激情校园春色| 91久久精品国产91久久| 欧美日韩hd| 亚洲一区在线播放| 亚洲一区二区少妇| 国产无一区二区| 久久综合伊人77777| 久久综合久久久久88| 亚洲精品国产精品国产自| 亚洲精品一区二区三区99| 欧美色区777第一页| 亚洲男人的天堂在线观看| 亚洲欧美日韩国产一区二区三区 | 黄色日韩网站| 欧美激情第4页| 欧美日韩国产区一| 亚洲欧美偷拍卡通变态| 午夜宅男欧美| 在线欧美视频| 亚洲精品美女91| 欧美日韩一区高清| 欧美自拍丝袜亚洲| 麻豆成人av| 一区二区三区国产| 亚洲在线一区| 尹人成人综合网| 亚洲伦理在线观看| 国产精品亚洲成人| 久久久久久久激情视频| 快射av在线播放一区| 一区二区欧美在线观看| 亚洲女人av| 亚洲人www| 亚洲欧美高清| 亚洲第一视频| 日韩网站在线看片你懂的| 国产精品免费一区豆花| 免费在线国产精品| 欧美女同在线视频| 欧美一级大片在线观看| 老司机一区二区三区| 亚洲一区二区精品在线| 久久久999精品免费| 日韩视频中午一区| 欧美一区二区三区在线观看视频| 国产日韩综合| 亚洲人屁股眼子交8| 国产一区二区三区日韩| 最新国产成人av网站网址麻豆| 国产精品亚洲综合色区韩国| 欧美r片在线| 国产精品一区免费视频| 亚洲国产日韩欧美在线动漫| 国产私拍一区| 日韩午夜免费视频| 在线观看成人一级片| 亚洲午夜未删减在线观看| 亚洲欧洲日本国产| 欧美一区二区精品在线| 中国亚洲黄色| 麻豆成人在线播放| 久久国产免费看| 国产精品成人观看视频免费| 亚洲高清色综合| 国模大胆一区二区三区| 中文欧美字幕免费| 亚洲美女毛片| 久久人人97超碰精品888| 久久人人爽国产| 亚洲动漫精品| 国产一区二区三区在线免费观看| 免费在线欧美黄色| 国产视频久久久久久久| 亚洲美女视频网| 亚洲欧洲在线播放| 久久久国产视频91| 欧美在线一二三| 国产精品久久久久久久久果冻传媒| 亚洲观看高清完整版在线观看| 黄色影院成人| 欧美伊人久久| 欧美在线看片| 国产精品成人一区二区三区夜夜夜| 亚洲国产另类久久久精品极度|