How to convert Generic value into Date and Time format

In addition to above. When different scenarios are to handle, we can start as described here:
:ambulance: :sos: [FirstAid] Datatable: Debug & Analysis invalid DateTime Strings / String to DateTime Parsing Issues - News / Tutorials - UiPath Community Forum

And extend it also for the OADates as introduced here: