Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding time of day functions
Message
From
20/12/2018 14:02:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
C#
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01664711
Message ID:
01664730
Views:
32
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform