I'm afraid there is no direct function to get the result you want, if you have some Java knowledge, you can have a try to hard code on tJavaRow component, use the built-in function TalendDate.getPartOfDate() to get each part of time, then do the subtraction for each part of time and build the output string.