Note to display month

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

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

Try with this format: %b, for example format-date(${A1ii}, '%b')

··· -- 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

Thank you Geoeng
it has really helped
is there way instead of displaying just 3 it shows Mar as in the month in
words

··· On 3 March 2017 at 12:18, Geoeng Systems wrote:

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 <0772%20656158> / 0703516660 <0703%20516660>
Data Manager
Mujhu Research Collaboration
Mulago Hosp
Msc Enterprise Architecture

--

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.

--
**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

Thank you so much it has really helped

··· On 3 March 2017 at 23:05, Geoeng Systems wrote:

Try with this format: %b, for example format-date(${A1ii}, '%b')

--
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 <0772%20656158> / 0703516660 <0703%20516660>
Data Manager
Mujhu Research Collaboration
Mulago Hosp
Msc Enterprise Architecture

--

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.

--
**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