AllExperts > Experts 
Search      

Using Lotus Notes

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Using Lotus Notes Answers
Question Library

Ask a question about Using Lotus Notes
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Paski K. Paskaradevan
Expertise
I have 3 + years in Lotus Notes application development. I am a CLP R5 Application Development. I can answer any question pertaining to application development.

Experience
R5 CLP. In addition, I have a bachelors degree in Engineering and a MBA.
 
   

You are here:  Experts > Internet/Online > Email > Using Lotus Notes > about lotus notes functions

Topic: Using Lotus Notes



Expert: Paski K. Paskaradevan
Date: 8/11/2008
Subject: about lotus notes functions

Question
I am writing a formula which return documents from database
and looks like this:
(@Contains(Receiver; "some inf") & (@Contains(Status; "some inf") | @Contains(Status; "some inf") | @Contains(Status; "some inf"))&(TRICKY PART))

TRICKY PART should be some kind a function or something like that which compare two dates date1 and date2.
I need to return true if first date is bigger then seccond.
Actualy i need to compare LastModified to another date if LastModified is bigger or equal return @True.
Thanks.

Answer
Hi,

There are two ways you can do this.

One is straight comparison of two dates using > or < operator.

So the trickypart will look like DateA >= DateB

Another is to subtract one date from another.

DateA-DateB will give you a number. So, if you want to select documents where DateA is greater than DateB, then the Trickypart will look like DateA-DateB >= 0

Regards.

Paski

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.