← Back to team overview

dhis2-devs team mailing list archive

How do we get a descriptive Reporting Period from period identifier?

 

Hi!
I have created a report which uses a relative reporting period.
>From the api description, I get the period from dhis2.report.periods[0]
which gives me a period identifier, like 2015Oct (for financial year
October 2015 - September 2016).
I want to be able to display the descriptive period name on the report
like *Data
Approval Status for Period October 2015 to September 2016, *how I achieve
that because currently I can only display the period identifier like
2015Oct?

Thank you in advance!

-- 
:: Sovello Hildebrand Mgani ::



--If you teach man to fish, you'll feed him a lifetime--

Follow ups