dt_interval_check (public)

 dt_interval_check start end

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

Checks the values of start and end to see if they form a valid time interval. Returns: > 0 if end > start 0 if end = start < 0 if end < start Input variables can be any strings that can be converted to times using clock scan.

Parameters:
start (required)
end (required)

Testcases:
dt_interval_check
Source code:
    return [expr {[clock scan $end] - [clock scan $start]}]
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: