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

Copyright(c) 2012 Leon P Smith
(c) 2012-2014 Janne Hellsten
LicenseBSD3
MaintainerJanne Hellsten <jjhellst@gmail.com>
Safe HaskellNone
LanguageHaskell2010

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 -> Builder Source #

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.