Calculation

Hi All,
I have a variable that collects LMNP - this is a date field
I want to automatically calculate the weeks of amenorrhea whose formula is
1) add 7 days to the day of the date
2) for months in the date that are above 9 add number 3
3) for months that are below or equal to 9 subtract 3 from the
date.
someone help me calculate the amenorrhea

Hi Ayoub,

Date calculations are notoriously tricky. Read the threads at
https://groups.google.com/forum/#!searchin/opendatakit/date$20add, then try
each step you've described and let the list know how far you get.

Thanks,

Yaw

ยทยทยท -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Mon, Feb 1, 2016 at 3:00 PM, Ayoub Kakande akakande@gmail.com wrote:

Hi All,
I have a variable that collects LMNP - this is a date field
I want to automatically calculate the weeks of amenorrhea whose formula is
1) add 7 days to the day of the date
2) for months in the date that are above 9 add number 3
3) for months that are below or equal to 9 subtract 3 from the
date.
someone help me calculate the amenorrhea

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.