Using C#. I have a string dateTimeEnd.
dateTimeEnd
If the string is in right format, I wish to generate a DateTime and assign it to eventCustom.DateTimeEnd
DateTime
You can write DateTime? newdate = null;