WEB-API: Minus 1 Second from IServicecall getServicecallDate2
The method getServicecallDate2 from Class IServicecall returns a date value minus 1 second. For example when the Servicedesk field is 13:44:00, the method returns 13:43:59. The method getServicecallDate2 returns a double that I converted to the date format using com.hp.ifc.util.ApiDateUtils.double2Date.
Does anyone know if this is a bug in Servicedesk WEB-API or did I use a wrong conversion method?
Re: WEB-API: Minus 1 Second from IServicecall getServicecallDate2
Hi Vasily Thanks for your reply. The other strange thing is sometimes the method returns correctly and sometimes not. I have tried doing what you recommended, it works when the method returns minus 1 second, but when it returns correctly, I get a wrong information. Thanks.