@@ -424,6 +424,40 @@ Module functions |
424 | 424 | Note: *typename* and the name of the type in your query are matched |
425 | 425 | case-insensitively. |
426 | 426 |
|
| 427 | +.. function:: Date(year, month, day) |
| 428 | + |
| 429 | + This function constructs an object holding a date value. |
| 430 | + |
| 431 | +.. function:: Time(hour, minute, second) |
| 432 | + |
| 433 | + This function constructs an object holding a time value. |
| 434 | + |
| 435 | +.. function:: Timestamp(year, month, day, hour, minute, second) |
| 436 | + |
| 437 | + This function constructs an object holding a time stamp value. |
| 438 | + |
| 439 | +.. function:: DateFromTicks(ticks) |
| 440 | + |
| 441 | + This function constructs an object holding a date value from the given ticks |
| 442 | + value (number of seconds since the epoch; see the documentation of the |
| 443 | + standard Python :mod:`time` module for details). |
| 444 | + |
| 445 | +.. function:: TimeFromTicks(ticks) |
| 446 | + |
| 447 | + This function constructs an object holding a time value from the given ticks |
| 448 | + value (number of seconds since the epoch; see the documentation of the |
| 449 | + standard Python :mod:`time` module for details). |
| 450 | + |
| 451 | +.. function:: TimestampFromTicks(ticks) |
| 452 | + |
| 453 | + This function constructs an object holding a time stamp value from the given |
| 454 | + ticks value (number of seconds since the epoch; see the documentation of the |
| 455 | + standard Python :mod:`time` module for details). |
| 456 | + |
| 457 | +.. function:: Binary(string) |
| 458 | + |
| 459 | + This function constructs an object capable of holding a binary (long) string |
| 460 | + value. |
427 | 461 |
|
428 | 462 | .. _sqlite3-module-constants: |
429 | 463 |
|
|