DT_TimeAddSeconds
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Obsolete > DT (Date Handling) > DT_TimeAddSeconds |
This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.
Description
The DT_TimeAddSeconds() function adds seconds to a given time string and returns the new calculated time.
Syntax
DT_TimeAddSeconds(sTime AS STRING, nSeconds AS NUMBER) AS STRING
Returns
Returns AS STRING
Returns a new time string
Parameters
sTime AS STRING
The time string, if empty the function will use the current time
nSeconds AS NUMBER
Specify the number of seconds to add
Remarks
Restrictions
See also
Examples
MSGBOX 0, DT_TimeAddSeconds("00:02:03", %DT_SECONDS_IN_HOUR)
' results "01:02:03"