I need to format a variable time value like ("HH:MM:SS")
The variable contain result of a calculation and is value are in an Eltime format like (HHMMSS)
Problem is the variable does not show the leading 0
EX: Temptime = 155 //= hh:mm:ss = 00:01:55
Problem is the code recognize 155 as 01:55:00
Code: Select all
String4 = formatTime("hh:mm:ss",eltimetodatetime(TempTime));
Martin