File: Date-Format.html

package info (click to toggle)
krb5 1.4.4-7etch8
  • links: PTS
  • area: main
  • in suites: etch
  • size: 49,188 kB
  • ctags: 25,838
  • sloc: ansic: 270,358; exp: 21,157; makefile: 10,635; sh: 6,403; yacc: 2,515; perl: 1,925; cpp: 743; awk: 449; python: 379; asm: 248; lex: 190; sed: 172; csh: 147
file content (75 lines) | stat: -rw-r--r-- 2,559 bytes parent folder | download | duplicates (2)
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
<html lang="en">
<head>
<title>Kerberos V5 System Administrator's Guide</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Kerberos V5 System Administrator's Guide">
<meta name="generator" content="makeinfo 4.5">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="Date%20Format">Date Format</a>,
Next:<a rel="next" accesskey="n" href="Principals.html#Principals">Principals</a>,
Previous:<a rel="previous" accesskey="p" href="Kadmin-Options.html#Kadmin%20Options">Kadmin Options</a>,
Up:<a rel="up" accesskey="u" href="Administrating-the-Kerberos-Database.html#Administrating%20the%20Kerberos%20Database">Administrating the Kerberos Database</a>
<hr><br>
</div>

<h3 class="section">Date Format</h3>

<p>Many of the <code>kadmin</code> commands take a duration or time as an
argument.  The date can appear in a wide variety of formats, such as:

<pre class="smallexample">     "15 minutes"
     "7 days"
     "1 month"
     "2 hours"
     "400000 seconds"
     "next year"
     "this Monday"
     "next Monday"
     yesterday
     tomorrow
     now
     "second Monday"
     fortnight
     "3/31/1992 10:00:07 PST"
     "January 23, 2007 10:05pm"
     "22:00 GMT"
     </pre>

<p>Note that if the date specification contains spaces, you must enclose it
in double quotes.  Note also that you cannot use a number without a
unit.  (I.e., ""60 seconds"" is correct, but "60" is incorrect.) 
All keywords are case-insensitive.  The following is a list of all of
the allowable keywords.

     <dl>
<dt><b>Months</b>
     <dd>january, jan, february, feb, march, mar, april, apr, may, june, jun,
july, jul, august, aug, september, sep, sept, october, oct, november,
nov, december, dec

     <br><dt><b>Days</b>
     <dd>sunday, sun, monday, mon, tuesday, tues, tue, wednesday, wednes, wed,
thursday, thurs, thur, thu, friday, fri, saturday, sat

     <br><dt><b>Units</b>
     <dd>year, month, fortnight, week, day, hour, minute, min, second, sec

     <br><dt><b>Relative</b>
     <dd>tomorrow, yesterday, today, now, last, this, next, first, second,
third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh,
twelfth, ago

     <br><dt><b>Time Zones</b>
     <dd><code>kadmin</code> recognizes abbreviations for most of the world's time
zones.  A complete listing appears in <a href="kadmin-Time-Zones.html#kadmin%20Time%20Zones">kadmin Time Zones</a>.

     <br><dt><b>12-hour Time Delimiters</b>
     <dd>am, pm
</dl>

</body></html>