sqlite-simple-0.4.8.0: Mid-Level SQLite client library

MaintainerJanne Hellsten <jjhellst@gmail.com>
Safe HaskellNone

Database.SQLite.Simple.Time.Implementation

Description

Adapted from Leon P Smith's code for SQLite.

See http://sqlite.org/lang_datefunc.html for date formats used in SQLite.

Synopsis

Documentation

utcTimeToBuilder :: UTCTime -> BuilderSource

Output YYYY-MM-DD HH:MM:SS with an optional .SSS fraction part. Explicit timezone attribute is not appended as per SQLite3's datetime conventions.