确定溢出时格式化秒和分钟

时间:2019-06-27 13:04:24

标签: time vbscript

我要添加多个计时器,并且需要对结果进行格式化,以使秒数溢出到分钟数,以此类推,直到分钟数变成小时数

totalconvavgtalkduration = Hour(CSQ1Convavgtalkduration)+Hour(CSQ2Convavgtalkduration)+Hour(CSQ3Convavgtalkduration)+Hour(CSQ4Convavgtalkduration)+Hour(CSQ5Convavgtalkduration)+Hour(CSQ6Convavgtalkduration)+Hour(CSQ7Convavgtalkduration)+Hour(CSQ8Convavgtalkduration)+Hour(CSQ9Convavgtalkduration)+Hour(CSQ10Convavgtalkduration)+Hour(CSQ11Convavgtalkduration)+Hour(CSQ12Convavgtalkduration)+Hour(CSQ13Convavgtalkduration)+Hour(CSQ14Convavgtalkduration)+Hour(CSQ15Convavgtalkduration)+Hour(CSQ16Convavgtalkduration)&":"&Minute(CSQ1Convavgtalkduration)+Minute(CSQ2Convavgtalkduration)+Minute(CSQ3Convavgtalkduration)+Minute(CSQ4Convavgtalkduration)+Minute(CSQ5Convavgtalkduration)+Minute(CSQ6Convavgtalkduration)+Minute(CSQ7Convavgtalkduration)+Minute(CSQ8Convavgtalkduration)+Minute(CSQ9Convavgtalkduration)+Minute(CSQ10Convavgtalkduration)+Minute(CSQ11Convavgtalkduration)+Minute(CSQ12Convavgtalkduration)+Minute(CSQ13Convavgtalkduration)+Minute(CSQ14Convavgtalkduration)+Minute(CSQ15Convavgtalkduration)+Minute(CSQ16Convavgtalkduration)&":"&Second(CSQ1Convavgtalkduration)+Second(CSQ2Convavgtalkduration)+Second(CSQ3Convavgtalkduration)+Second(CSQ4Convavgtalkduration)+Second(CSQ5Convavgtalkduration)+Second(CSQ6Convavgtalkduration)+Second(CSQ7Convavgtalkduration)+Second(CSQ8Convavgtalkduration)+Second(CSQ9Convavgtalkduration)+Second(CSQ10Convavgtalkduration)+Second(CSQ11Convavgtalkduration)+Second(CSQ12Convavgtalkduration)+Second(CSQ13Convavgtalkduration)+Second(CSQ14Convavgtalkduration)+Second(CSQ15Convavgtalkduration)+Second(CSQ16Convavgtalkduration)

0 个答案:

没有答案