Timestamp()
This page is part of MariaDB's Enterprise Documentation.
The parent of this page is: Connector/Python API
Topics on this page:
Overview
This function constructs an object holding a time stamp value
See also: MariaDB Connector/Python 1.1 and in 1.0
EXAMPLES
Construct a timestamp value from any year, month, day, hour, minute, and second:
import mariadb
x = mariadb.Timestamp(2020, 12, 31, 16, 59, 30)
print(x) # Outputs: 2020-12-31 16:59:30
CHANGE HISTORY
Release Series | History |
---|---|
1.1 |
|
1.0 |
|