coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quarter code for date


From: Pádraig Brady
Subject: Re: quarter code for date
Date: Fri, 7 Oct 2016 15:13:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 07/10/16 03:54, Leslie S Satenstein wrote:
> Michael
> 
> 
> A year of weeks (ISO) may be 52 or 53, depending on when the first Thursday 
> of the month lands.
> 
> Therefore a quarter of a year may include 13 or 13.5 weeks. (one definition).
> 
> The other, by your simple shell script, it provides a second definition, 
> based on the calendar.
> 
> One more ponderable, Do we take days in the year and use 1 Jan as the start 
> of a quarter, or the  first week to be the one containing the Sunday that 
> first precedes or has  1 January   (Dec 27th 2016)?

It's probably best to not consider weeks in this at all.
Just month boundaries




reply via email to

[Prev in Thread] Current Thread [Next in Thread]