This implementation has very few reasonable code (call atol() and ctime()), but has some nice standard program stuff (parse options, print help, ...).
26 lines
537 B
Groff
26 lines
537 B
Groff
.\" unixtime.1
|
|
.TH UNIXTIME 1 "Feb. 2008" "heinzel"
|
|
|
|
.SH NAME
|
|
unixtime \- converts a unix timestamp into a human readable date
|
|
|
|
.SH SYNOPSIS
|
|
.B unixtime [-h, --help] [-V, --version] <TIMESTAMP>
|
|
|
|
.SH DESCRIPTION
|
|
\fBunixtime\fP is similar to the standard c library function \fBctime()\fP
|
|
|
|
.SH OPTIONS
|
|
An integer <TIMESTAMP>, which is a number of seconds since the Epoch.
|
|
|
|
.SH "BUGS"
|
|
Since I have no real understanding of C, I am sure, there are.
|
|
|
|
.SH "AUTHOR"
|
|
heinzel <heinzel@heinzelwelt.de>
|
|
|
|
.SH "SEE ALSO"
|
|
.BR time (2),
|
|
.BR ctime (3)
|
|
|