xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

TimeValid()

Checks if a character string is a valid time string.

Syntax

TimeValid( <cTime> ) --> lIsTimeString

Arguments

<cTime>
This is a time formatted character string as returned by Time().

Return

The function returns .T. (true) if a character string in the format hh:mm:ss is passed. Otherwise .F. (false) is returned.

Info

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


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