<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Sep 2017 11:17:00 Z</lastBuildDate><pubDate>21 Sep 2017 15:54:00 Z</pubDate><description>Hello,&#13;
&#13;
I use this code&#13;
&#13;
Trace(dStartTijd,DateSys()+TimeSys() )&#13;
PrikKlok.Werktijd = DateTimeDifference(dStartTijd,DateSys()+TimeSys() )&#13;
Hadd(Prikklok)&#13;
&#13;
The trace gives the following result&#13;
20170921153600000 2017092115410730&#13;
&#13;
The system stores 51 seconds and not the 5 minutes timedifference.&#13;
&#13;
Am I doing something wrong?&#13;
&#13;
Thanks&#13;
&#13;
Willy Hermans</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62713-datetimedifference-wrong-result/read.awp</link><title>datetimedifference - wrong result</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62713-datetimedifference-wrong-result-62717/read.awp</comments><pubDate>22 Sep 2017 11:17:00 Z</pubDate><description>Hi Willy,&#13;
&#13;
The result of DateTimeDifference is a string.&#13;
It depends on what type your PrikKlok.Werktijd is to know what will …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62713-datetimedifference-wrong-result-62717/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62713-datetimedifference-wrong-result-62717/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62713-datetimedifference-wrong-result/read.awp">datetimedifference - wrong result</source><title>Re: datetimedifference - wrong result</title></item></channel></rss>
