Hi All, I have a time variable that contains the values in the form of : 2018-04-20T20:38:12.124Z I tried to convert it into sas date time with the following code: value_year = input(substr(value,1,4), 4.);
value_month = input(substr(value,6,2), 2.);
value_day = input(substr(value,9,2), 2.);
date = MDY(value_month,value_day, value_year);
value_hour = input(substr(value,12,2), 2.);
value_minute = input(substr(value,15,2), 2.);
value_second = input(substr(value,18,6), 6.3);
sasdatetime = DHMS(date,value_hour,value_minute, value_second); Now I'm hoping to calculate the difference between two time values after converting the original values to the form of "sasdatetime". The unit of the difference should be in minute and second (MM/SS). For example the time interval between: 2018-03-23T14:19:43.046Z and 2018-03-28T02:56:37.460Z In minute and second. Thank you!
... View more