[EpiData-list] How to select earlier date from multiple dates

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Fri Sep 9 15:34:44 CDT 2011


Dear Forum Members,

I was looking a way to select earliest date from multiple date fields.
Example,

Five date fields with dates as below,
DateA - 13/01/2002
DateB - *13/01/2001*
DateC - 13/01/2002
DateE - 13/01/2003
DateF - 13/01/2004

So, the programming to select earliest date (13/01/2001) in the field called
"DateDiagnosis"

Thanks in advance.

Bijay Adhikari, PhD
CD Epidemiologist
Regina, SK


More information about the EpiData-list mailing list