Navigation:  thinBasic Modules > DT (Date Handling) >

DT_SecToDate

Previous pageReturn to chapter overviewNext page

 

Description

 

The DT_SecToDate() function converts a given number of seconds to the correspondent date string.

 

Syntax

 

DT_SecToDate(nSeconds) AS STRING

 

Returns

 

Returns AS STRING

  The date string.

 

Parameters

 

nSeconds AS NUMBER

  The numbers of seconds.

 

Remarks

       

Restrictions

 

 

See also

 

  DT_ DateToSec

 

Examples

 

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

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com