code: def seconds_to_time(x):
      x = float(x)
      x = round(x, 2)
      milliseconds, seconds = math.modf(x)
      milliseconds = math.ceil(milliseconds * 1000)
      seconds = int(seconds)
  
      dt = datetime.timedelta(
          seconds=int(seconds), milliseconds=int(milliseconds)
      )
  
      out = str(dt)[:-4]
      if re.match(r"^\d:", out):
          out = "0" + out
  
      return out
  
imports: import datetime
  import math
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: seconds_to_time(x) and returns: out