日時

記事
IT・テクノロジー

変換

 日付

import sqlite3
with sqlite3.connect("データベース", detect_types=sqlite3.PARSE_DECLTYPES) as con:
データベースの日付列の宣言
列名 DATE

 日時

DATETIME型
import sqlite3
with sqlite3.connect("データベース", detect_types=sqlite3.PARSE_DECLTYPES) as con:
データベースの日時列の宣言
列名 TIMESTAMP

サービス数40万件のスキルマーケット、あなたにぴったりのサービスを探す