Unable to paste dat as it is

i am getting below error

“string was not recognized as valid date time” for write cell.

i am using below expression
DateTime.ParseExact(DateValue, “yyyy/mm/dd”, System.Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”)

as my date is like 2025-01-08 which needs to be copy.