how to split the date 10/18/2022 00:00:00 From above I need only 10/18/2022 the variable type is DateTime