convdate man page on 4.4BSD

Man page or keyword search:  
man Server   1065 pages
apropos Keyword Search (all sections)
Output format
4.4BSD logo
[printable version]

CONVDATE(1)							   CONVDATE(1)

NAME
       convdate - convert time/date strings and numbers

SYNOPSIS
       convdate [ -c ] [ -n ] [ -s ] arg...

DESCRIPTION
       Convdate	 translate the date/time strings specified as arguments on its
       command line, outputing the results one to a line.

       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 formatted
       by ctime(3).  This is the default.

       If the ``-n'' flag is used, then each argument is  converted  the  same
       way but is output as a time_t; see time(2).

       If  the ``-c'' flag is used, then each argument is taken to be a time_t
       and is output in ctime format.

       For example,
	      % 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 1991

HISTORY
       Written by Rich $alz <rsalz@uunet.uu.net>.  This is revision 1.4, dated
       1993/01/29.

SEE ALSO
       parsedate(3).

								   CONVDATE(1)
[top]

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net