Kohi Game Engine
time_utils.h File Reference
#include "defines.h"

Go to the source code of this file.

Functions

KAPI const char * time_as_string_from_seconds (f32 total_seconds)
 Gets the formatted time as a string from the given number of seconds. The format is "hh:mm:ss.xx". More...
 

Function Documentation

◆ time_as_string_from_seconds()

KAPI const char* time_as_string_from_seconds ( f32  total_seconds)

Gets the formatted time as a string from the given number of seconds. The format is "hh:mm:ss.xx".

Parameters
total_secondsThe total amount of seconds to extract the string from.
Returns
const char* The string formatted time stamp "hh:mm:ss.xx"