good day all

I have a list of children with 2 variables "date of birth" and "date of death". Both are recorded as numeric daily date (int); for example "13894" is "15jan1998".

I would like to make a new variable called "1-year survival" with binary outcome "yes" and "no" using the aforementioned variables. Thank you!