|
| datetimedifference - wrong result |
| Iniciado por guest, 21,sep. 2017 15:54 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 21,septiembre 2017 - 15:54 |
Hello,
I use this code
Trace(dStartTijd,DateSys()+TimeSys() ) PrikKlok.Werktijd = DateTimeDifference(dStartTijd,DateSys()+TimeSys() ) Hadd(Prikklok)
The trace gives the following result 20170921153600000 2017092115410730
The system stores 51 seconds and not the 5 minutes timedifference.
Am I doing something wrong?
Thanks
Willy Hermans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,septiembre 2017 - 11:17 |
Hi Willy,
The result of DateTimeDifference is a string. It depends on what type your PrikKlok.Werktijd is to know what will be stored.
Kind regards, Piet |
| |
| |
| | | |
|
| | | | |
| | |
|