Popular recipes by Andy Barbour http://code.activestate.com/recipes/users/4174351/2011-09-29T21:39:22-07:00ActiveState Code RecipesPrinting current, next, or previous day (Python) 2011-09-29T21:39:22-07:00Andy Barbourhttp://code.activestate.com/recipes/users/4174351/http://code.activestate.com/recipes/577883-printing-current-next-or-previous-day/ <p style="color: grey"> Python recipe 577883 by <a href="/recipes/users/4174351/">Andy Barbour</a> (<a href="/recipes/tags/datetime/">datetime</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/time/">time</a>). Revision 3. </p> <p>simply prints the previous, current, or next day. Inputs may be <em>year month month-day</em> or <em>year julian-day</em> with the output in the same format.</p>