| Reply | « Previous Thread | Next Thread » |
|
Hi,
i want to reduce the resulting resultset with a date comparsison i.e. date between lastcall and now. my query looks like this Code:
query = u"SELECT * from table WHERE
date > #%s# AND date < #%s#"%(time.time()-1000000,time.time())
Code:
SymbianError:[Errno -2] KErrGeneral Thanks in advance for any help |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
|
Hi,
I think the problem is with the way you are trying to use time. According to this article it has to be formatted using e32db.format_time function. From the PyS60 Library Reference: Quote:
|
|
Thank you for providing me the solution. Simply formatting each timestamp with e32db.format_time(timestamp) worked.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How to compare date Sql Query in Symbian | kamaljaiswal | General Symbian C++ | 2 | 2009-08-31 01:57 |
| e32db date field | Cyxapeff2 | Python | 1 | 2007-07-29 11:22 |
| Date Query Dialog | vasant21 | Symbian User Interface | 2 | 2006-11-01 12:50 |
| Date Query | djgtram | Symbian User Interface | 3 | 2004-03-17 23:33 |
| Date Query Editor Dialog | Blkangel | General Symbian C++ | 0 | 2004-02-11 11:48 |