Microsoft
Software
Hardware
Network
Question : working with dreaded time values in vb.net
Hi. I am working at a project which involves times values.
There is this database that stores Time`s data type. I have a form with a control datetimepicker.
what I need is the following:
To compare the value stored in the database in a Time column versus the value stored in the datetimepicker control.
I am working ONLY with hours (HH:mm:ss). The problem is that almost every solution that I`ve found in the Internet shows only how to get rid of the time values when working with datetime types. I haven`t found any that explains how to get the difference of minutes, or seconds, or hours that exist in two different times.
Any one?
Answer : working with dreaded time values in vb.net
Yes...if you set the dates the same first then the subtraction will give you a TimeSpan that represents just the time difference.
Random Solutions
is it possible virus affected VPN client spread virus in corporate network?
Gracefully shutting down VMs before ESX hosts shutdown in vSphere
Remote Web Workplace different website address
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
What is the Best Digital Camera, that is tiny, takes video and takes great pictures?
Manually move Exchange 2003 mailstore to different disk
EtherChannel on Cisco 2960 switch intermittent dropped packet
SBS 2003 and Second DC questions
Computer doesnt power on...
Need reminder popups or even an email from other persons outlook calendar