| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Displays the system time continuously at a specified screen position.
ShowTime( [<nRow>] , ;
[<nCol>] , ;
[<lHideSecs>], ;
[<cColor>] , ;
[<l12h>] , ;
[<lAmPm>] ) --> cNull
The function returns a null string ("").
The ShowTime() function must be called at least with one parameter to install the time display at the specified position. Calling ShowTime() without a parameter again stops the time display.
| See also: | Time() |
| Category: | CT:DateTime , Date and time |
| Source: | ct\dattime3.prg |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example displays the time using a 12h clock
// while the Browse() function is active.
PROCEDURE Main
CLS
ShowTime( 0, MaxCol()-8,,"N/BG" ,.T. , .T. )
USE Customer
Browse()
RETURN
http://www.xHarbour.com