Try without data.getDateStr(“%H:%M:%S”)
Also, I now recommend textboxes instead of aligning text in code.