thanks. --- On Thu, 6/12/08, Igor Tandetnik <[EMAIL PROTECTED]> wrote:
From: Igor Tandetnik <[EMAIL PROTECTED]> Subject: Re: [sqlite] Date Selection To: sqlite-users@sqlite.org Date: Thursday, June 12, 2008, 7:51 AM "Harold Wood" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > the create table statement: > > LastPurchaseDate DATETIME, You seem to be under impression there's a dedicated DATETIME type in SQLite. This is not the case: it's just the nature of SQLite's manifest typing (http://sqlite.org/datatype3.html) that allows one to specify any odd identifier as a column type. You have a choice of storing dates and times as strings (e.g. '2008-06-10'), as integer number of seconds since Unix epoch, or as floating point Julian day number. You manipulate these representations using built-in date/time functions: http://www.sqlite.org/cvstrac/wiki?p=DateAndTimeFunctions Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users