Time Format Extension - Millis to [HH:mm:ss] - [days + HH:mm:ss] - [HH:mm] - [mm:ss] etc

Here is an extension to format the time / duration (millis) in different ways:
→ [ HH:mm:ss ] → [ days + HH:mm:ss ] → [ HH:mm ] → [ mm:ss ] → etc.

This is asked very often and always requires a lot of questions / answers and posts in the forum.
(Last here: Creating a Chronometer - #17 by PizzaGuy07)

Hence this extension (some of it can also be implemented with the on-board methods, but I want to simplify it:):

Version 1 (May 20, 2020):
TFormat.aix (5.5 KB)

Version 2 (Oct 20, 2021):
TFormat2.aix (5.7 KB)


Thank you for the little extension that reduces my app by a few blocks :wink:

1 Like

I added a new version of this extension:

1 Like

I'm making clock app.

Hi Anke
can I ask you a question?
How can I change the description of the Time Format?
For example I would like to change the result "DDD days + HH:mm:ss" with "DDD giorni, HH ore, mm minuti, ss secondi" (...yes, in Italian language).

E.g. from "320 days + 18:51:34" to "320 giorni, 18 ore, 51 minuti, 34 secondi"
or similar as "giorni 320 e ore 18:51:34"

Is it possible?

Thank you in advance for your answer

Of course:


... or:

1 Like

1 Like

Wowww!! awesome!!
Thanks a lot Anke :heart_eyes: :heart_eyes:

1 Like

I would like to share my experience with the community.

Thank you again @Anke

1 Like

A post was split to a new topic: GetMillis help adding times

Hi @Anke,

Is it possible to convert YearsDaysHoursMinSec back to millis? Or do I just use:

Thank you.

It looks like something that would be worth adding to the extension at some point, considering the number of blocks required.

Why? That is not the purpose of the extension. Read the topic.
And by the way, there are blocks in the Clock component for that.

No worries. Just suggesting a broader purpose.

I'll probably be using the clock component.

Is there a way, using this extension, to have the time counting continue even after I close the stopwatch app, when I open it it continues to count until I decide to stop and reset it, so that it counts?