Charles.Forsyth20060303-partialeea662d19 years agoHistory
55 lines · 985 B · Text
RawDownload
.TH DATE 1.SH NAMEdate \- print the date.SH SYNOPSIS.B date[.B -u] [.B -n] [.I seconds].SH DESCRIPTIONPrints the date to standard output, in the format:.IP.EXWed Jan 12 11:54:06 GMT 2002.EE.PPThe options are.TP.B -uReport Greenwich Mean Time (GMT) rather than local time..TP.B -nReport the date as the number of seconds since theepoch, 00:00:00 GMT, January 1, 1970..PPCurrent time is obtainedby reading.BR /dev/time .The conversion from Greenwich Mean Time to local time depends on the contents of.BR /locale/timezone ..PPIf the optional argument.I secondsis present, it is used as the time to convert rather thanthe real time..SH FILES.TF "/locale/timezone  ".TP.B /locale/timezoneCurrent time zone name and adjustments.TP.B /localeA directory containing time zone tables.TP.B /dev/timemicroseconds since the epoch, 00:00:00 GMT, 1 January 1970.SH SOURCE.B /appl/cmd/date.b.SH "SEE ALSO".IR time (1),.IR daytime (2),.IR cons (3)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t