Skip to content

Time formatting

Converts seconds into standard time formats, such as HH:MM:SS.

Authors and contributors to this community extension: Bouh.


Ideal for displaying timers on screen.

Formats included:

  • HH:MM:SS
  • HH:MM:SS.000 (displays milliseconds)

Tip

Learn how to install new extensions by following a step-by-step guide.

Expressions

Expression Description
TimeFormatter::SecondsToHHMMSS(number) Format time in seconds to HH:MM:SS.
number Time, in seconds
TimeFormatter::SecondsToHHMMSS000(number) Format time in seconds to HH:MM:SS.000, including milliseconds.
number Time, in seconds

This page is an auto-generated reference page about the Time formatting extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.