You can extract the date as a string and then convert it into date-time.
After that use .ToString() and inside that write the format you required for example if you the date in the format 04-Feb-2019 15:24:19 Then use .ToString(“dd-MMM-yyyy HH:mm:ss”)