How do i calculate time between running live time from timer1 and a datetimepicker1.value?
DateTime
TimeSpan
DateTime startDate = datetimepicker1.Value; Datetime now = DateTime.Now; // The datetime at the tick of the timer TimeSpan duration = now - startDate; // The duration between both datetimes
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)