Re: [Dhis2-users] d2: daysbetween AND d2:yearsbetween not working properly in 2.27 build revision b6e8cde

2017-08-10 Thread Markus Bekken
Hi Georgi! The age should also have worked fine - the age is in reality just a date being displayed in another way. Can you report the bug in Jira please? One thing to consider if you want to combine this rule with the AGE data type: The number of years displayed in the AGE data element is calcu

[Dhis2-users] d2: daysbetween AND d2:yearsbetween not working properly in 2.27 build revision b6e8cde

2017-08-04 Thread Georgi Chakarov
Hello all! I am trying to create a program rule based on Date of birth and Enrollment date. Basically, I want to hide one set of data elements if the client is below 18 years old and another set of data elements if the client is above 18 years of age. This is what I tried: 1) (d2:daysBet