Minutes between Midnight

Minutes between Midnight

Hi, I am needing to determine time from one record to midnight of the same day. I found hoursBetween rounds and there is no minutesBetween.


dateString = vPreviousDate +" 23:59:59";
result = dateString.toDateTime();

info tempRecordsYesterday.Gauge_Date_Time.hoursBetween(result);

Any suggestions?

Thank You