Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
LAPI Search with date data type
T-Systems_Administrator
I try to search all documents before 20/06/2000 and have got the following syntax for date comparision after LAPI documentation (LAPI Search):String where = "(\"OTModifyDate\": \"(<20000620)\"";int i = lSearch.ApplyQuery ( objectId, fieldsList, where, lSearch.SORTBYEXISTENCE, "" , 0, 10, "LivelinkQueryLanguage", queryResults );The code does not work! Does anyone know the syntax for date comparison? The same query without < works and gives the documents modified at 20/06/2000!Any help is appreciate.
Find more posts tagged with
Comments
Mike_Jory_(MJory_(Delete)_840963)
Message from Michael Jory via eLinkYou almost had it. The syntax should be:String where = "(\"OTModifyDate\": < \"20000620\")"; Mike> -----Original Message-----> From: eLink Discussion: LAPI Discussion> [mailto:lapi@elinkkc.opentext.com]> Sent: June 23, 2003 10:43 AM> To: eLink Recipient> Subject: LAPI Search with date data type> > > LAPI Search with date data type> Posted by Meltzow, Boris on 06/23/2003 10:31 AM> > I try to search all documents before 20/06/2000 and have got the > following syntax for date comparision after LAPI documentation > (LAPI Search):> > String where = "(\"OTModifyDate\": \"(<20000620)\"";> int i = lSearch.ApplyQuery> (> objectId,> fieldsList,> where,> lSearch.SORTBYEXISTENCE,> "" ,> 0,> 10,> "LivelinkQueryLanguage",> queryResults> );> > > The code does not work! Does anyone know the syntax for date comparison? > > The same query without < works and gives the documents modified > at 20/06/2000!> > Any help is appreciate.> > > > > [To reply to this thread, use your normal e-mail reply function.]> > ============================================================> > Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe