is that different in V16 and V17? because in the code I posted I get the same result, but I am not dividing the time value by 1000!!
> On Apr 16, 2018, at 10:59 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > time is stored in milliseconds, not seconds. > > you have to > > $oMyObject:=New object("reporttime";?14:43:01?) > > $t:=String(Time($oMyObject.reporttime/1000);HH MM AM PM) > > ...or > > $t:=String(OB Get($oMyObject;"reporttime";Is time);HH MM AM PM) > >> 2018/04/17 10:02、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール: >> I thought this worked but It does not return the correct time... > -- Julio Carneiro jjfo...@gmail.com ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************