Navigation:  thinBasic Modules > DT (Date Handling) >

DT_SecToDate

Previous pageReturn to chapter overviewNext page

 

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"