date.1

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 1 代码 · 共 43 行

1
43
字号
.TH DATE 1 .SH NAMEdate \- print and set the date.SH SYNOPSIS.B date.RB "[ yymmddhhmm [ " . "ss ] ]".SH DESCRIPTIONIf no argument is given, the current date and time are printed.If an argument is given, the current date is set..I yyis the last two digits of the year;the first.I mmis the month number;.I ddis the day number in the month;.I hhis the hour number (24 hour system);the second.I mmis the minute number;.BI . ssis optional and is the seconds.For example:.IPdate 10080045.PPsets the date to Oct 8, 12:45 AM.The year, month and day may be omitted, the currentvalues being the defaults.The system operates in GMT..I Datetakes care of the conversion to and fromlocal standard and daylight time..SH FILES/usr/adm/wtmp to record time-setting.SH SEE ALSOutmp(5).SH DIAGNOSTICS`No permission' ifyou aren't the super-user and you try to change the date;`bad conversion' if the date set is syntactically incorrect.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?