Dear Dr Charulatha
To get the difference in days, please try inserting the following command in the block of vo3 in your chk file (vo3 must be in ##.# format, vo2 and vo1 must be in <dd/mm/yyyy> format) :
let vo3=(vo2-vo1)
I hope it will be helpful.
Kind regards
Dr Andriamahenina R.
----- Mail original -----
De: epidata-list@lists.umanitoba.ca À: epidata-list@lists.umanitoba.ca Envoyé: Vendredi 21 Février 2014 08:07:41 Objet: [EpiData-list] QUERY
I need help in writing the command for the following function.
1 have 2 date fields. the difference between the dates can be less than 30 days also in some cases. How can I auto calculate the difference in days between the 2 dates.
Eg.
v01 11/11/2013
v02 20/11/2013
I want v03 to be automatically calculated as a difference between the 2 above dates.
Many thanks Charulatha
Dr Charulatha Banerjee Regional Advisor ( MCH & N South Asia)
Aide à l'enfance. | Kinderhilfe weltweit. Per l'infanzia nel mondo. | Helping children worldwide.
12/3A, Palm Avenue Kolkata 700019 T +91-33-64508764/09748770125 charulatha.banerjee@tdh.ch www.tdh.ch
_______________________________________________ EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list