First convert both strings into numbers that represent the number of seconds. Then do minus beween these 2 numbers and then, if needed, convert the number into hh:mm:ss format again.
Response time, and Dispatched time is another objects.
I drop the Response time,Dispathed Time, and Cal time, Both objects(Response time and Dispatched time) is displaying 00:00:00(HH:MM:SS) format. When I drop “Cal time” , It is displaying in Number.I want convert into the same format as Response time and Dispatched time.
(HH:MM:SS)
When i right click and format date and time it is showing an error # Format.
Basically, I want to check “Cal time Object” whether it is doing Minus properly?
I have number of seconds variable now, I just want to format in HH:MM:SS.
I used Below Formula but it is not parsing throwing an Errr: Unrecognized inputs’&’ at position 52
=FormatNumber(Floor([number of seconds]/86400);"0") & " day(s) " &
FormatNumber(Floor(Mod([number of seconds] ;86400)/3600) ;"00") & ":" & FormatNumber(Floor(Mod(Mod([number of seconds];86400);3600)/60) ;"00") & ":" & FormatNumber(Mod(Mod(Mod([number of seconds];86400) ;3600);60) ;"00")
I tried using similar syntax and got the same error, about "unregonised &… However, if I changed “&” to “+”, the rest of the “&” symbols didnt cause any problems… I am wondering why at that certain position it is giving this error?