1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
|
.\" Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
.\"
.\" Permission is granted to make and distribute verbatim copies of
.\"this
.\"manual provided the copyright notice and this permission notice are
.\"preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of
.\"this manual under the conditions for verbatim copying, provided that
.\"the entire resulting derived work is distributed under the terms of a
.\"permission notice identical to this one.
.\"
.\" Permission is granted to copy and distribute translations of this
.\"manual into another language, under the above conditions for modified
.\"versions, except that this permission notice may be stated in a
.\"translation approved by the Foundation.
.\"
.\" Japanese Version Copyright (c) 1997 II Ryouta
.\" all rights reserved.
.\" Dec 16 midnight 1997 by II Ryouta <pessi@eiehost.gee.kyoto-u.ac.jp>
.\"
.TH DATE 1 "GNU Shell Utilities" "FSF" \" -*- nroff -*-
.SH ̾
.\" date \- print or set the system date and time
date \- ƥդȻɽ뤤ꤹ
.SH
.B date
[\-u] [\-d datestr] [\-s datestr] [\-\-utc] [\-\-universal]
[\-\-date=datestr] [\-\-set=datestr] [\-\-help] [\-\-version]
[+] [MMDDhhmm[[CC]YY][.ss]]
.SH
ʸϤ⤦ƥʥƤʤΤǡΡԴʲǽ롣
ߤ texinfo ʸʾȤʤäƤ롣
.PP
Υޥ˥奢ڡ GNU
.BR date
λˡΤǤ롣
ʤ
.B date
¹Ԥȡ( Ҥ `%c' ηǤä )ߤλդɽ롣
`+'ǻϤޤĤΰͿ줿ϡߤλդΰ
줿Ǥäɽ롣ΰ `strftime' ؿϤʸη
Ʊηġ `%' ǻϤޤơʸʸϤΤޤ
ѹ줺ɽ롣
.PP
λȤ:
.IP %
ʸȤƤ %
.IP n
.IP t
ʿ
.PP
:
.IP %H
(00..23)
.IP %I
(01..12)
.IP %k
( 0..23)
.IP %l
( 1..12)
.IP %M
ʬ (00..59)
.IP %p
AM 뤤 PM Υ
.IP %r
12 (hh:mm:ss [AP]M)
.IP %s
1970-01-01 00:00:00 UTC ÿ (ɸγĥ)
.IP %S
(00..61)
.IP %T
24 (hh:mm:ss)
.IP %X
ˤɽ (%H:%M:%S)
.IP %Z
ॾ ( EDT)⤷ॾǤʤʤ̵
.PP
դ:
.IP %a
ˤά̾ (Sun..Sat)
.IP %A
ˤ봰ɽ̾Ĺ (Sunday..Saturday)
.IP %b
ˤάη̾ (Jan..Dec)
.IP %B
ˤ봰ɽ̾Ĺ (January..December)
.IP %c
ˤդȻ (Sat Nov 04 12:02:33 EST 1989)
.IP %d
(̻) (01..31)
.IP %D
(mm/dd/yy)
.IP %h
%b Ʊ.
.IP %j
ǯ̻ (001..366)
.IP %m
(01..12)
.IP %U
κǽȤȤǯ̻νֹ (00..53)
.IP %w
Τ (0..6) 0 б
.IP %W
κǽȤȤǯ̻νֹ (00..53)
.IP %x
ˤդɽ (mm/dd/yy)
.IP %y
ǯκǸĤο (00.99)
.IP %Y
ǯ (1970...)
.PP
ǥեȤǤ
.BR date
ͤǵͤ롣
GNU
.BR date
ϰʲɸοͤνҤդ:
.IP \-
(ϥե) եɤͤʤ
.IP _
() ڡǥեɤͤ
.PP
Ϳ줿 `+' ǻϤޤʤ硢
.B date
ϥƥפΰȤƻꤵ줿դǤäꤹ롣
ϤäѤǹͤФʤʤϰʲΰ̣:
.IP MM
.IP DD
(̻)
.IP hh
.IP mm
ʬ
.IP CC
ǯκǽĤο (Ǥ)
.IP YY
ǯκǸĤο (Ǥ)
.IP ss
(Ǥ)
.PP
ѡ桼ƥפꤹ뤳ȤǤ롣
.SS ץ
.TP
.I "\-d datestr, \-\-date datestr"
.I datestr
ˤƻꤵ줿դɽ
ϤۤȤɤΤʤ붦̤ηǤʤ
ɽϥǥեȤνϷ
.BR date ,
Ϳ `+' ǻϤޤ
ΰˤäƻꤵ줿Ǥ롣
.TP
.I "\-\-help"
ɸϤ˻ˡȤŤơޥɤȤƽλ롣
.TP
.I "\-s datestr, \-\-set datestr"
դ
.IR datestr ,
ꤹ롣
ϤۤȤɤΤʤ붦̷ǹʤ
̾ॾ `am' `pm' ʤɤޤߤ롣
.TP
.I "\-u, \-\-universal"
դ(ɻפλ)ǤϤʤƶ (UTC)
(˥åɸȤƤΤƤ) ˤäɽ뤤ꤹ
.TP
.I "\-\-version"
ɸϤ˥СɽƤ饳ޥɤȤƽλ롣
.SH
.PP
դɽˤ
.IP
date \-\-date \'2 days ago\'
.PP
黰Ȱդɽˤϡ
.IP
date \-\-date \'3 months 1 day\'
.PP
ǯΥꥹޥǯ̻ɽˤ
.IP
date --date \'25 Dec\' +%j
.PP
ߤդɽˤ̾(̻)ޤɽˤ
.IP
date \'+%B %d\'
.PP
˾ǤΤȰۤʤ뤫⤷ʤȤΤϷκǽ
Ф\`%d\' ϥǵͤ줿Ĥο˳ĥ뤫Ǥ롣
㤨 \`date \-d 1-may \'+%B %d\'\' \`May 01\' ɽǤ
.PP
ƱդǤϤ뤬ĤФƬˤĤΤ(̻)
ɽˤϡɸ \`\-\' ҤͤʪΤ뤿Ѥ
뤳ȤǤ롣
.IP
date \-d 1-may \'+%B %-d\'
.\" .SH Х
.\" ܥޥ˥奢ǤΥޥ˥奢뼫Τ˥ХʶǽΤդ줿
.\" Ԥ¿ΥץƤϤߤƤǧƤϤʤ
.\" μ pessi@eiehost.gee.kyoto-u.ac.jp
.\" 1997/12/16 ȳϡ17̤ jman
.\" С GNU sh-utils-1.16/man/date.1
|