Popular Batch recipes tagged "calendar"http://code.activestate.com/recipes/langs/batch/tags/calendar/2016-08-17T10:32:03-07:00ActiveState Code RecipesAdd days to a calendar date- Julian date (Batch)
2016-08-17T10:32:03-07:00Antoni Gualhttp://code.activestate.com/recipes/users/4182514/http://code.activestate.com/recipes/580683-add-days-to-a-calendar-date-julian-date/
<p style="color: grey">
Batch
recipe 580683
by <a href="/recipes/users/4182514/">Antoni Gual</a>
(<a href="/recipes/tags/calendar/">calendar</a>).
</p>
<p>The trick to add days to a date is to convert the date to a serial, do a normal addition then convert the result back to a date. The serial I use here is the Julian day number used by the astronomers because its conversion formulas arewell documented. If you check the julian day number on internet the result can vary by a day, because julian days start at noon and i'm not making this distinction. </p>
Last sunday of each month for a given year (Batch)
2016-06-07T20:25:00-07:00Antoni Gualhttp://code.activestate.com/recipes/users/4182514/http://code.activestate.com/recipes/580677-last-sunday-of-each-month-for-a-given-year/
<p style="color: grey">
Batch
recipe 580677
by <a href="/recipes/users/4182514/">Antoni Gual</a>
(<a href="/recipes/tags/calendar/">calendar</a>).
Revision 2.
</p>
<p>Includes batch routines for day of week, is leap year and last dat of the month</p>
Current month calendar (Batch)
2013-10-11T16:11:41-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578687-current-month-calendar/
<p style="color: grey">
Batch
recipe 578687
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/calendar/">calendar</a>).
</p>
<p>Prints calendar at current month.</p>