STRTOD

Purpose:

Returns a time string from an integer number of seconds.

Syntax:

STRTOD(seconds)

seconds

-

An integer. The number of seconds from which to calculate the time.

Returns:

A string in hh:mm:ss format.

Example:

strtod(43200)

 

returns 12:00:00.

Remarks:

A value of 0 seconds represents midnight. Since the total number of seconds in a day is 86400, strtod(43200) is noon.

 

Use STRTODMSEC to handle milliseconds.

 

Use TODSTR to convert a time string into seconds.

See Also:

STRJUL

STRTODMSEC

TODSTR

TODMSECSTR