Files
unixtime/unixtime.1
heinzel 277ef6c1cf 1. Proper formating of the man page.
2. Corrected the documentation about the possibility to omit the timestamp.
2008-02-19 16:48:06 +00:00

44 lines
805 B
Groff

.\" unixtime.1
.TH UNIXTIME 1 2008-02 "heinzelwerk"
.SH NAME
unixtime \- converts a unix timestamp into a human readable date
.SH SYNOPSIS
.B unixtime
.RI [ timestamp ]
.LP
.B unixtime
.BR -h | --help
|
.BR -V | --version
.SH DESCRIPTION
.B unixtime
print out the date, that is given as
.IR timestamp .
.PP
.I timestamp
should be an integer value, that represent seconds since the Epoch.
.PP
If
.I timestamp
is ommited, it will default to 0, which has the effect, that the
begin of the Epoch will be shown.
.PP
The format of the date string depends on
.BR ctime (3).
.PP
Normal output goes to stdout, errors and warnings to stderr.
.SH BUGS
Since I have no true understanding of C, I am sure, there are.
.SH AUTHOR
heinzel <heinzel@heinzelwelt.de>
.SH "SEE ALSO"
.BR ctime (3),
.BR time (2)