![Image](https://forums.factorio.com/images/ext/75a514d6053caedcd4caafc221e0669f.png)
Credit here: https://www.reddit.com/r/factorio/comme ... n_the_250/
Code: Select all
//show seconds, minutes or hours. This needs to be updated if we ever need to display more than 99 hours
while (timeFrame > 99)
{
valueToPrint = valueToPrint / 60;
timeFrame = timeFrame / 60;
}