Reports whether the value of a string is a valid time value.
IsTime ( timevalue )
Argument |
Description |
---|---|
timevalue |
A string whose value you want to test to determine whether it is a valid time |
Boolean. Returns TRUE if timevalue is a valid time and FALSE if it is not.
This expression returns TRUE:
IsTime("8:00:00 am")
This expression returns FALSE:
IsTime("25:00")
To pass this validation rule, the value in start_time must be a time:
IsTime(start_time)
IsTime in the PowerScript Reference
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |