This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 15, 2011, 2:50 PM
261 Posts

Re: Dates comparison issue

  • Category: Debugging
  • Platform: All
  • Release: 8.5.2
  • Role:
  • Tags:
  • Replies: 6
Hi Ruslan,
 
If you want to compare Java dates, you can also use the getTime() method (which returns number of milliseconds since midnight of January 1, 1970) or use the compareTo() method.
 
To easily transform a NotesDateTime object to a Java date you can use the NotesDateTime.toJavaDate() method.
 
 
Apr 15, 2011, 3:01 PM
29 Posts
Re: Dates comparison issue
 Hi, Mark! I wish I had known about conversion earlier. I used to work mostly with LotusScript till now and it's my first time I get into this kind of trouble %-)
Thank you for the advice, guys! You're all really helpful here! 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal