Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

SecondsToTime Function

Overview

The SecondsToTime function converts an integer duration in seconds to a formatted string with seconds, minutes, and hours.

Syntax/Parameters

Syntax

string = SecondsToTime ( int secs );

Parameters

secs

An int specifying the number of seconds to convert.

Return Value

Returns a string formatted as hours, minutes, seconds: [hh:]mm:ss.

Remarks

The hours are automatically added as required. Otherwise they are omitted from the string.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic