Forum Post: RE: Expression-field (datetime) with "Adjust" is different from...

  • Thread starter Thread starter Hans De Smet
  • Start date Start date
Status
Not open for further replies.
H

Hans De Smet

Guest
When I google, I see that setFullYear doesn't accept a time component: see for example here . Using "var start = new Date(2014, 8, 17, 8, 0 ,0);" still shows the same issue, but I wanted to check if that would be what you like to use, before I open a defect for this? These are the results I receive: 1) var start=new Date(); start.setFullYear(2014, 8, 17, 8, 0 ,0); return start; Formula (Date/Time (Adjust to user time zone)): 17.09.2014 09:17 Expression (Date/Time (Adjust to user time zone)): 17.09.2014 16:17 Formula (Date/Time (Do not adjust)): 17.09.2014 02:17 Expression (Date/Time (Do not adjust)): 17.09.2014 02:17 2) var start = new Date(2014, 8, 17, 8, 0 ,0); return start; Formula (Date/Time (Adjust to user time zone)): 17.09.2014 08:00 Expression (Date/Time (Adjust to user time zone)): 17.09.2014 15:00 Formula (Date/Time (Do not adjust)): 17.09.2014 01:00 Expression (Date/Time (Do not adjust)): 17.09.2014 01:00 Kind regards, Hans

Continue reading...
 
Status
Not open for further replies.
Back
Top