Date time format problem How to convert date format from 10-Mar-21 to 2021-03-10T00:00:00.000+00:00

How to convert date format from 10-Mar-21 to 2021-03-10T00:00:00.000+00:00+00:00

Please help

@Chandni
the general parsing formatting can look like this:
DateTime.ParseExact(“10-Mar-21”,“dd-MMM-yy”, CultureInfo.InvariantCulture).ToString(“yyyy-MMM-ddTHH:mm:ss.fffzzz”)
grafik

in case of a shift from local timezone to utc time zone is needed, we can adopt