If we want to use the data from different operators and want to join them in a string we can use f-strings.
defonValueChange(channel,sampleIndex,val,prev):clock=op('clock2')# Get data from clocksek=int(clock[0])min=int(clock[1])hr=int(clock[2])day=int(clock[3])month=int(clock[4])# construct datedate=f'25-{month}-{day}-{hr}:{min}:{sek}'