Is there a way one can represent a time only value in .NET without the date? For example, indicating the opening time of a shop?
TimeSpan
indicates a range, whereas I only want to store a time value. Using DateTime
to indicate this would result in new DateTime(1,1,1,8,30,0)
which is not really desirable.