Time format from timepicker

Hello all, I'd been using my app to input my data with custom dates in a 24 hour format using timepicker. It works fine but the fact is that I got the time in this format 5:7 instead of 05:07.

Here my block

Try This


Function Block-

5 Likes

Yes, this should work :slightly_smiling_face:

2 Likes

Works fine, thank you very much

1 Like

This would be a good time to pull in a Clock component from the Sensors drawer and familiarize yourself with its many date and time formatting blocks.

1 Like

Noted, thanks for the advice, I'll look into. :slightly_smiling_face:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.