Am 27.06.2012 17:40, schrieb Jay A. Kreibich:

On Wed, Jun 27, 2012 at 05:37:55PM +0200, deltagam...@gmx.net scratched on the 
wall:

Hello,

sqlite3 event.db "select datetime('now')";
gives me a time that is 2 hours too late ( 2012-06-27 15:33:13)
than my system time ( win 7 )  17::33:13

How can this be fixed ?
   Move two timezones to the west.

   (By default all times and dates are UTC.)

    -j




I use this from within a c++ application
    char create_sql[] = "CREATE TABLE if not exists eventlog ("
        "id INTEGER PRIMARY KEY,"
        "eventdate DATETIME default current_timestamp,"
        "eventtype TEXT,"
        ")";

How do I get the right time in the the column eventdate ?
How to move timezones ?



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to