Nachtrag:
Ausgabe=Format(timestring,"00") ist oft der Overkill.
Wenn ROM knapp ist, reicht auch:
Code:
$lib "mcsbyte.lbx"       'only support bytes for numeric<>string conversion  
'....
If timestring < 10 Then
      Ausgabe ="0"
else 
     Ausgabe =""
End If
Ausgabe = Ausgabe + Str(timestring)