>>Thank you. I also found that I can specify the time as
>>
>>tsMidnight = TimeSpan.Parse("00:00:00");
>>
>>And then compare this with the current time. The date is not important, in this case for me.
>>
>>Thank you and Naoto for your help!
>
>Oh you meant compare time to time? You don't need to write that as string and parse simply initialize as:
>
>new TimeSpan(0,0,0);
>
>or:
>DateTime.Today.TimeOfDay
Thank you. I didn't know I could specify it that way.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham