DT_SecToTime

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > DT (Date Handling) >

DT_SecToTime

 

This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.

 

Description

 

The DT_SecToTime() function converts a given number of seconds to the correspondent time string.

 

Syntax

 

 DT_SecToTime(nSeconds AS NUMBER) AS STRING

 

Returns

 

Returns AS STRING

   The time string.

 

Parameters

 

nSeconds AS NUMBER

   The numbers of seconds.

 

Remarks

 

 

Restrictions

 

 

See also

 

   DT_TimeToSec

 

Examples

 

MSGBOX 0, DT_SecToTime(DT_TimeToSec("00:01:01"))  ' results "00:01:01"