xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SecToTime()

Converts numeric seconds into a time formatted character string.

Syntax

SecToTime( [<nSeconds>], [<lHundredth>] ) --> cTime

Arguments

<cTime>
This is a numeric value specifying the number of seconds elapsed since midnight. It defaults to Seconds().
<lHundredth>
If set to .T. (true), the returned character string includes 1/100ths of seconds. The default value is .F. (false).

Return

The function returns a character string containing the number of seconds formatted as HH:MM:SS[:ss].

Info

See also:Seconds(), SecToTime(), Time()
Category: CT:DateTime , Date and time
Source:ct\cttime.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe