[Zope-dev] Sqlmethod use to query ZopeTime.

Victor.Zhai@ogilvy.com Victor.Zhai@ogilvy.com
Fri, 18 Feb 2000 19:35:06 +0800


Hi,all

select  somedata from Mydatabase
where
     ZopeTime() - Mydatabase.regist_time < cal  (Note: cal can be any data
from 0 to 365)
How to realize this?
 Thanks a lot!
 Victor zhai.



"WorldSecure Server <ogilvy.com>" made the following
 annotations on 02/18/00 06:24:47
------------------------------------------------------------------------------
Privileged/Confidential Information may be contained in this message.  If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to email for messages of this kind.  Opinions, conclusions and other information in this message that do not relate to the official business of the Ogilvy Group shall be understood as neither given nor endorsed by it.

==============================================================================