I’ve just found a built-in node called “Time Seconds to String” which can format time in seconds to min:sec format easily. The output of the function will also return milliseconds but we can substring only first 5 digits.
See this link for reference.