Hello everyone. I need your help to calculate delay in minutes on survey solution using string variable ffornat as “dd-MM-yyyy HH:mm” (##-##-202# ##:##). I have to concatenate the date and day to take the date into account when calculating the delay for samples taken at night and stored the next day. Thank you.
Thank you have done it with (int)(
DateTime.ParseExact(base_vaginal_iso_time, “dd-MM-yyyy HH:mm”, null) -
DateTime.ParseExact(base_vaginal_time, “dd-MM-yyyy HH:mm”, null)
).TotalMinutes