> The 3 SQL statements executed in maintest.c are: > SELECT datetime('now') as NOW; > SELECT datetime('now','utc') as UTC; > SELECT datetime('now','localtime') as MST; > > Current local-time is 22:50 MST. > The results are: > NOW = 1601-01-01 00:04:49 > UTC = 1601-01-01 07:04:49 > MST = 1601-01-01 17:04:49
First off, datetime('now') is already UTC. datetime('now', 'utc') will give you nonsense With that out of the way, what does the sqlite3 command line return for these queries? RW Ron Wilson, Engineering Project Lead (o) 434.455.6453, (m) 434.851.1612, www.harris.com HARRIS CORPORATION | RF Communications Division assuredcommunications(tm) _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users