In addition to nailing down whether weeks begin on Sunday or Monday, there is also the issue of which week is the Nth week, dependant on when the company's year begins.

For example, with my previous company, the fiscal year ran from February through January (instead of January through December). To make things even more convoluted, the company followed the 4-5-4 calendar, so the "first" week of a given 'corporate' month may actually fall within the previous calendar month, or a few days into the calendar month (as defined by the way the rest of the Western world works). For example, the first week of April might actually start on Monday the 8th.

The reason for this kind of tinkering with the corporate calendar was so that it was easier to match up figures from business on a particular week this year, with business on a particular week last year. Leap years caused all sorts of havoc, and resulted in even more corporate tinkering with the calendar.

I bring this up to draw attention to the fact that to fit within a corporate culture, the software design may need to provide the flexibility for custom definition of the calendar. Certanly, within my previous company's corporate culture, any software that didn't allow for custom definition of the calendar would have been essentially worthless. Sales trends, open-to-buy (for buyers), shipping cutoff dates, profitability reporting, advertising schedules, etc., all relied upon the corporate calendar, which was, in fact, subject to change on occasion.


Dave


In reply to Re: Re: start and end date for a week by davido
in thread start and end date for a week by ganesh_saravanan

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.