Note to display month

Try a calculate field, and in the calculation put: format-date(${the_date},
'%n'); where the_date is the variable with your date input. Then add a
label to display the month

e.g

type name label calculation required appearance
date A1ii Respondent's year of birth yes no-calendar
calculate A1ai Year (calculated) format-date(${A1ii}, '%Y')
note A1aii Year is: ${A1ai}
calculate A1bi Month (calculated) format-date(${A1ii}, '%n')
note A1bii Month is: ${A1bi}

··· -- Need ODK forms development or training? www.geoengsystems.com

On Friday, March 3, 2017 at 11:18:30 AM UTC+3, Ayoub Kakande wrote:

Hi all,
I have a field where I input date
i would like a note that extracts only month from the date

Any help will be much appreciated

Thanks
Ayoub

--
**In sun set years education is not associated with standard of living and
medical care access; it is the the financial myosin and actin!!!

**** Don't give me fish, teach me how to fish

Kayoub K
0772656158 / 0703516660
Data Manager
Mujhu Research Collaboration
Mulago Hosp
Msc Enterprise Architecture