using textbox instead of textblock
checking if net time is negative, if so then the start time must be from the day before.