convdate.1

来自「早期freebsd实现」· 1 代码 · 共 67 行

1
67 行
字号
.\" $Revision: 1.4 $.TH CONVDATE 1.SH NAMEconvdate \- convert time/date strings and numbers.SH SYNOPSIS.B convdate[.B \-c][.B \-n][.B \-s].I arg....SH DESCRIPTION.I Convdatetranslate the date/time strings specified as arguments on itscommand line, outputing the results one to a line..PPIf the ``\-s'' flag is used, then each argument is taken as adate string to be parsed by.IR parsedate (3)and is output as a string formatted by.IR ctime (3).This is the default..PPIf the ``\-n'' flag is used, then each argument is converted the same waybut is output as a.IR time_t ;see.IR time (2)..PPIf the ``\-c'' flag is used, then each argument is taken to be a.I time_tand is output in.I ctimeformat..PPFor example,.RS.nf.RI "% " "convdate 'feb 10 10am'"Sun Feb 10 10:00:00 1991.RI "% " "convdate 12pm 5/4/90"Fri Dec 13 00:00:00 1991Fri May  4 00:00:00 1990.RI "% " "convdate -n 'feb 10 10am' '12pm 5/4/90'"666198000641880000.RI "% " "convdate -c 666198000"Sun Feb 10 10:00:00 1991.fi.RE.SH HISTORYWritten by Rich $alz <rsalz@uunet.uu.net>..de R$This is revision \\$3, dated \\$4....R$ $Id: convdate.1,v 1.4 1993/01/29 16:42:35 rsalz Exp $.SH "SEE ALSO"parsedate(3).

⌨️ 快捷键说明

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