目录

istime()

函数说明: 判定字符串是否具有转换成时间的合法格式

语法: istime( string )

参数说明: string 字符串表达式

返回值: 布尔型

示例:

例1:istime("2006-10-10") 返回 false

例2:istime("2006-10-10 10:20:30") 返回 false

例3:istime("20061010") 返回 false

例4:istime("10:20:30") 返回 true