.\" Man page generated from reStructuredText. . .TH DEBDATE 1 "2017-07-14" "" "" .SH NAME debdate \- Convert Gregorian dates to Debian Regnal dates . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp debdate [\-h] [\-d DATE | \-s SECONDS] {test} ... .SH DESCRIPTION .sp \fBdebdate\fP is a fundamental tool for anybody who follows the debian calendar where the years are named after the current stable release. .SH OPTIONS .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .TP .B \-h\fP,\fB \-\-help show this help message and exit .TP .BI \-d \ DATE\fP,\fB \ \-\-date \ DATE A gregorian date .TP .BI \-s \ SECONDS\fP,\fB \ \-\-seconds \ SECONDS A date as seconds from the Unix Epoch .UNINDENT .UNINDENT .UNINDENT .SH EXAMPLES .sp \fBdebdate\fP .sp Print the debian regnal date for today. .sp \fBdebdate \-d 2017\-06\-18\fP .sp Print the debian regnal date for the day of the release of Stretch. .sp \fBdebdate \-s 1497736800\fP .sp Print the same date as above. .sp \fBdebdate \-d \(aqJul 18 2017\(aq\fP .sp Print again the same date as above, passed in an illogical format. Any string that is recognised as a valid date by dateutil can be used. .SH SEE ALSO .INDENT 0.0 .IP \(bu 2 date(1) .IP \(bu 2 ddate(1) .IP \(bu 2 \fI\%https://dateutil.readthedocs.io/en/stable/\fP .UNINDENT .SH AUTHOR valhalla@trueelena.org .SH COPYRIGHT 2017 Elena Grandi Released under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. http://www.wtfpl.net/ debdate.1.rst:11: (WARNING/2) Cannot extract compound bibliographic field "Copyright". .\" Generated by docutils manpage writer. .