58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
|
|
Database: berlintest
|
||
|
|
Restore : No
|
||
|
|
|
||
|
|
Operator : <
|
||
|
|
Number : 1
|
||
|
|
Signature: date x date -> bool
|
||
|
|
Example : query [const date value "23.12.2006"] < [const date value "24.12.2006"]
|
||
|
|
Result : TRUE
|
||
|
|
|
||
|
|
|
||
|
|
Operator : =
|
||
|
|
Number : 1
|
||
|
|
Signature: date x date -> bool
|
||
|
|
Example : query [const date value "23.12.2006"] = [const date value "24.12.2006"]
|
||
|
|
Result : FALSE
|
||
|
|
|
||
|
|
|
||
|
|
Operator : >
|
||
|
|
Number : 1
|
||
|
|
Signature: date x date -> bool
|
||
|
|
Example : query [const date value "23.12.2006"] > [const date value "24.12.2006"]
|
||
|
|
Result : FALSE
|
||
|
|
|
||
|
|
|
||
|
|
Operator : day_of
|
||
|
|
Number : 1
|
||
|
|
Signature: date -> int
|
||
|
|
Example : query day_of ([const date value "23.12.2006"] )
|
||
|
|
Result : 23
|
||
|
|
|
||
|
|
|
||
|
|
Operator : month_of
|
||
|
|
Number : 1
|
||
|
|
Signature: date -> int
|
||
|
|
Example : query month_of ([const date value "23.12.2006"] )
|
||
|
|
Result : 12
|
||
|
|
|
||
|
|
|
||
|
|
Operator : thedate
|
||
|
|
Number : 1
|
||
|
|
Signature: int x int x int -> date
|
||
|
|
Example : query thedate(23,12,2006)
|
||
|
|
Result : (date "23.12.2006")
|
||
|
|
|
||
|
|
|
||
|
|
Operator : year_of
|
||
|
|
Number : 1
|
||
|
|
Signature: date -> int
|
||
|
|
Example : query year_of ([ const date value "23.12.2006"] )
|
||
|
|
Result : 2006
|
||
|
|
|
||
|
|
Operator : str2date
|
||
|
|
Number : 1
|
||
|
|
Signature: istring -> date
|
||
|
|
Example : query str2date( " 2011-05-23 ") = str2date("23.5.2011")
|
||
|
|
Result : TRUE
|
||
|
|
|