This has been beaten quite a bit but I am seeing the following using dateTime.parseexact function
when I use the following to convert string to date
I get the following response
I am not adding the hh:mm format anywhere in conversion. You may notice that it tacked the 10-month to the minute section
Can u try your format like this? “MM/dd/yyyy”
time will be set as default: 00:00:00
MM = Month
The month need be MM
Hope it helps!!
Thank you, obvious oversight that mm/MM are the same.
It solves the issue
This is a good resource for all the different format identifiers.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.