← Back to team overview

dhis2-devs team mailing list archive

Re: weeks calculation

 

Thanks!

That is really usefull.

Caveman


Murodullo Latifov wrote:
Hi Caveman,



----- Original Message ----
From: Orvalho Joaquim Augusto <orvaquim@xxxxxxxxx>
To: dhis2-devs <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Sent: Monday, May 11, 2009 2:57:42 AM
Subject: [Dhis2-devs] weeks calculation

I could not find on dhis2 docs so I am asking:

How dhis2 calculate the weeks? The first week of a year for example.

Weekly periods are calculated based on their start date. If start date of the given week is on the previous year, end date of that period is used. Also Saturday is used as first day of the week.

Thank you
Caveman



_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp








References