the datepart function converts an integer datetime to an integer date value.
the example here converts text datetime to integer date.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.