dt_valid_time_p (public)

 dt_valid_time_p time

Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl

Parameters:
time (required)
Returns:
1 if "time" is a valid time specification, 0 otherwise.

Partial Call Graph (max 5 caller/called nodes):
%3 test_dt_sysdate_systime dt_sysdate_systime (test acs-datetime) dt_valid_time_p dt_valid_time_p test_dt_sysdate_systime->dt_valid_time_p test_dt_valid_time_p dt_valid_time_p (test acs-datetime) test_dt_valid_time_p->dt_valid_time_p

Testcases:
dt_valid_time_p, dt_sysdate_systime
Source code:
    if {[catch { clock scan $time }]} {
        return 0
    } else {
        return 1
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-datetime/tcl/acs-datetime-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: