Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

TEXTTIME( [ lAmpm [, lShowsecs [, ncTimevar ]]] )

Purpose

Display time in a specified formats.

Arguments

     lAmpm -- if passed and .F., show as 24-hour clock, else as 12-hour
              time

     lShowsecs -- if passed and .T., show seconds, else don't

     ncTimevar -- if passed, numeric or string variable containing the time
                  to format; a number indicates the number of seconds
                  elapsed since midnight, while a string must be of the
                  form "hh:mm:ss"

Setup

Time may be passed as a number of seconds, or as a string of the form
"hr:mm:ss".

Example

     ? TEXTTIME( .T., .T. )  && Afternoon: "12:01:01"

Returns

A time string.

Side Effects

None.

Artful Calls

STOT

Source File

AA_TIME.PRG

See Also: STOT() TTOS() TEXTDATE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson