On this page
  1. sqlite3.Time
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

sqlite3.Time

Prev: sqlite3.Row | Up: sqlite3 | Next: sqlite3.TimeFromTicks
Rel: sqlite3.adapt, sqlite3.Binary, sqlite3.Blob, sqlite3.complete_statement
Ref: docs.python.org — sqlite3.Time
Tags: #public #python3 #stdlib #sqlite3


Import

import sqlite3
from sqlite3 import Time

Signature & Overview

sqlite3.Time(...)

All arguments are optional. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments may be ints.

Methods & Attributes

Usage

import datetime
import sqlite3

t = sqlite3.Time(14, 30, 0)
assert t == datetime.time(14, 30, 0)

Gotchas

REPL Inspect

from sqlite3 import Time
help(Time)

Linked from

Related notes