How to convert datetime(1/21/2018 00:00:00) into date(1/21/2018)

Download zip file from link I hope it’s useful