IsShortTime()
Syntax
Result_Flag as L = IsShortTime( Time_String as C )
Argument | Description |
Result_Flag | .T. = Indicates that the Time_String can be interpreted as a valid short time. .F. = Time_String can not be interpreted as a valid short time. |
Time_String | A character representation of a short time value. |
Description
The IsShortTime() function returns .T. if the Time_String is a valid representation of a short time value.
Note : A Short Time value does not include a date component.
Supported By
Alpha Five Version 6 and Above
Examples
? isshorttime("10:00:00 00 am") = .T. ? istime("10/15/2003 10:00:00 00 am") = .F. ? istime("10/15/2003") = .F. |
See Also