DT_SecToDate

<< Click to Display Table of Contents >>

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

DT_SecToDate

 

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

 

Description

 

Converts a given number of seconds to the correspondent date string.

 

Syntax

 

 sDate = DT_SecToDate(nSeconds)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

nSeconds

Numeric

No

Number of seconds

 

Remarks

   

Restrictions

 

See also

 

  DT_ DateToSec

 

Examples

 

MSGBOX 0, DT_SecToDate(DT_DateToSec("06-13-05"))

'---results "06-13-2005"