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 5, 2012, 2:12 PM
4 Posts

Time value 1 hour wrong

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: hour,@GetField,getItemValue
  • Replies: 2
Strange behavior.
 
I have a form with a date time field containing a time ex. 17:00:00 
When I retrieve the time in javascript then the hour is 1 hour in advance.  ex. document1.getValue("Time1"); return 18:00:00
When I use @GetField("Time2") the time is correct ! 
 
My first idea was that is was a server setting , different time zone etc.. but I can not find out what is wrong. 
 
Anybody any ideas? 
Somebody else this problem? 
 
Regards, 
 
Peter 
Apr 5, 2012, 3:12 PM
56 Posts
Re: Time value 1 hour wrong
Maybe Daylight Saving Time?
 
 I know how to access it in XPages but not in Notes, but maybe it's a hint which leads you to the solution =)
Apr 11, 2012, 10:48 AM
4 Posts
Re: Time value 1 hour wrong
nope, checked all those properties. It uses OS system settings and they are correct.

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