[EpiData-list] selecting by month

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Wed Nov 28 15:24:30 CST 2007

Dear member in the group

I would like to select records based on the month 
value from a date variable with the following format "mm/dd/yyyy".
I would like to use something like this:

IF DC [1,2]="01" THEN MES="EN"
IF DC [1,2]="02" THEN MES="FE"
IF DC [1,2]="03" THEN MES="MA"

This is in epiinfo 6. DC is the date variable

I will appreciate your help.

Jose A. Farfan

Dr. Jose Arturo Farfan Ale
Centro de Investigaciones Regionales
"Dr. Hideyo Noguchi"
Universidad Autónoma de Yucatán
Av. Itzáes por 59, num. 490
Mérida, Yucatán, México      97000
Tel: (999) 923-22-74
      (999) 924-57-55
Fax: (999) 923-61-20

More information about the EpiData-list mailing list