Incomplete DateTime In C#
c#
Solution
The value of a DateTime internally is just an `UInt64` (`ulong` in C#) that stores the number of ticks since some date in the past, so whether you like it or not, the time component will always be there.
Problem
In C# if I want to parse a datetime, but some times I just have either a date and not a time component or no date but a time component, how would I do this? Usually when you leave out the time component, it automatically assumes that the time is 12:00AM. But I don't want this. If the time component is missing then I just want the `DateTime` to store a date only and the leave the time component off.