|
|
1.1 root 1:
2:
3: date Command date
4:
5:
6:
7:
8: Print/set the date and time
9:
10: ddaattee [-ss] [-uu] [[_y_y_m_m_d_d]_h_h_m_m[._s_s]]
11:
12: date prints the time of day and the current date, including the
13: time zone. If an argument is given, the system's current time
14: and date is changed, as follows:
15:
16:
17: _y_y Year (00-99)
18: _m_m Month (01-12)
19: _d_d Day (01-31)
20: _h_h Hour (00-23)
21: _m_m Minute (00-59)
22: _s_s Seconds (00-59)
23:
24:
25: The seconds fields are optional. For example, typing
26:
27:
28: date 860512141233
29:
30:
31: sets the date to May 12, 1986, and the time to 2:12:33 P.M. At
32: least hh and mm must be specified--the rest are optional.
33:
34: The date may be changed only by the superuser.
35:
36: If option -s is specified, date suppresses daylight savings time
37: conversion when setting the time.
38:
39: If option -u is specified, dates are set and printed in Greenwich
40: Mean Time (GMT) rather than in local time.
41:
42: The library time conversion routines used by date look for the
43: environmental variable TIMEZONE, which specifies local time zone
44: and daylight saving time information in the format described in
45: ctime.
46:
47: ***** See Also *****
48:
49: ATclock, commands, ctime(), time, TIMEZONE
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.