/mcpRequired Description Type Name Yes The string to encode to Base64. String input Returns {String} The encoded string. buildTimeString(timeInMs) Builds a string that specifies the time in minutes and seconds. Example finesse.utilities.Utilities.buildTimeString(70000) Parameters Required Description Type Name Yes The time in milliseconds. Integer timeInMs Returns {String} The time in MINUTES:SECONDS. For example, 11:23. buildTimeStringWithOptionalHours(timeInMs) Builds a string that specifies the time in minutes, seconds, and optionally hours. Example finesse.utilities.Utilities.buildTimeStringWithOptionalHours(11170000) Parameters Required Description Type Name Yes The time in milliseconds. Integer timeInMs Returns {String} The time in HOURS:MINUTES:SECONDS or MINUTES:SECONDS. For example, 01:11:23 or 11:23. buildTotalTimeString(adjustedServerTimeInMs, callStartTimeInMs) Builds a string that specifies the total call time in minutes and seconds. Example finesse.utilities.Utilities.buildTotalTimeString(3600000, 900000) Parameters Required Description Type Name Yes The expected server time in milliseconds accounting for time difference between the client and server. Integer adjustedServerTimeInMs Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 525 Cisco Finesse JavaScript APIs Utilities