SAS Functions Create Date Variables in SAS with the MDY Function Date Variables in SAS SAS stores all dates variables as numbers with the 1st of January 1960 as zero. So,…