Hi, need some help with two variables, both displaying dates in the following format: DDMMYYYY. (Using SAS UE) Example: - DTOBITO = 04062017, which means "04jun2017" - DTNASC = 06062017, which means "06jun2017" What i need to do is find a way to get the difference(in days) between DTOBITO and DTNASC , like this: var3 = DTOBITO - DTNASC. Using the example, var3 should be equal to 2. Im using a dbf file, so im not certain about the format of this variable, if its numeric ou char variables.
... View more