Query: convdate
OS: redhat
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CONVDATE(1) General Commands Manual CONVDATE(1)NAMEconvdate - convert time/date strings and numbersSYNOPSISconvdate [ -c ] [ -n ] [ -s ] arg...DESCRIPTIONConvdate translate the date/time strings specified as arguments on its command line, outputting the results one to a line.OPTIONS-c If the ``-c'' flag is used, then each argument is taken to be a time_t and is output in ctime format. -n If the ``-n'' flag is used, then each argument is taken as a date string to be parsed by parsedate(3) and is output as a time_t; see time(2). -s If the ``-s'' flag is used, then each argument is taken as a date string to be parsed by parsedate(3) and is output as a string for- matted by ctime(3). This is the default.EXAMPLES% convdate 'feb 10 10am' Sun Feb 10 10:00:00 1991 % convdate 12pm 5/4/90 Fri Dec 13 00:00:00 1991 Fri May 4 00:00:00 1990 % convdate -n 'feb 10 10am' '12pm 5/4/90' 666198000 641880000 % convdate -c 666198000 Sun Feb 10 10:00:00 1991HISTORYWritten by Rich $alz <rsalz@uunet.uu.net>. This is revision 1.2, dated 1998/05/20.SEE ALSOparsedate(3). CONVDATE(1)
Related Man Pages |
---|
convdate(1) - redhat |
parsedate(3) - redhat |
convdate(1) - debian |
parsedate(3) - netbsd |
function::ctime(3stap) - centos |
Similar Topics in the Unix Linux Community |
---|
Simple date formatting? |
Get the newest files based on date |
Count of matched pattern occurences by minute and date in a log file |
Convert date arg to sql date |
[Solved] Need help in date display |