Actually holidays are not so easy to take into account.

First of all holidays vary by nation. And by state within nations.

Secondly holidays change periodically for various reasons. Therefore definitive lists tend not to stay very definitive.

Thirdly what happens with holidays that land on weekends? Typically different companies will handle these differently. In financial markets there is no hard and fast rule, and the decision about what to do often comes within 12 months of the actual holiday.

Fourth there are a variety of marginal holidays that are handled differently. A given day may be a holiday in the bond markets but not in the stock market. Or vice versa. Thanksgiving Friday in the US is officially not a holiday, but at many places is. And so on.

Fifth there is the question of religious holidays. For instance NYU medical school (which has a huge Jewish influence) routinely takes various Jewish holidays off but did not take off Easter. However most places in the US take off Easter but not the Jewish holidays.

And so on. The closer you look at it, the messier the idea of a "business day" becomes...


In reply to Re (tilly) 2: find "x" quantity newest files in a dir by tilly
in thread find "x" quantity newest files in a dir by braintoast

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.