--- P Kishor <[EMAIL PROTECTED]> wrote: > On 2/18/07, Neil McLeod <[EMAIL PROTECTED]> wrote: > > I just started using SQLite, and it seems my timestamps are all 5 hours > > ahead of time (i.e. "select current_time" gives me 0:47 when it is actually > > 19:47 here). I guess this is GMT. Is there a way to adjust the time? I'm on > > Windows XP, and the time is listed correctly in my taskbar. > > by default, time is in UTC. Use 'localtime' modifier for your time. > > select time('now', 'localtime');
Is there any way to force current_time to display localtime (other than hacking the sqlite source code)? Some environment setting or PRAGMA or something? ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------