<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>8 Oct 2019 18:57:40 Z</lastBuildDate><pubDate>26 Sep 2019 13:44:36 Z</pubDate><description>Hi,&#13;
&#13;
I'm new with WINDEV24 and I'm facing a difficulty to calculate datedifference in a query, using native sql server connector.&#13;
There's a WL function for that, but only works with WFSQL datafiles.&#13;
There's anybody able to help me on this?&#13;
Thanks in advance.&#13;
&#13;
--&#13;
Barros</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server/read.awp</link><title>Datedifference with native sql server</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>BARROS</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67317/read.awp</comments><pubDate>8 Oct 2019 18:57:40 Z</pubDate><description>HI Baltasar,&#13;
&#13;
thanks for the tip.&#13;
It didn't work.&#13;
I found this solution:&#13;
Replace SYSDATE by GETDATE().&#13;
But I can't use it …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67317/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67317/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server/read.awp">Datedifference with native sql server</source><title>Re: Datedifference with native sql server</title></item><item><author>BALTASAR</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67299/read.awp</comments><pubDate>26 Sep 2019 22:31:53 Z</pubDate><description>not sure, but maybe when you call sysdate function windev uses "DDMMYYYY", "DD/MM/YYYY" format instead of "YYYYMMYY" "YYYY/MM/DD…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67299/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67299/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server/read.awp">Datedifference with native sql server</source><title>Re: Datedifference with native sql server</title></item><item><author>BARROS</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67298/read.awp</comments><pubDate>26 Sep 2019 15:31:09 Z</pubDate><description>Hi Baltasar,&#13;
&#13;
thank you for your answer.&#13;
I'm getting this message error:&#13;
&#13;
https://hostimage.windev.io/images/Errormessage_5…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67298/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67298/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server/read.awp">Datedifference with native sql server</source><title>Re: Datedifference with native sql server</title></item><item><author>BALTASAR</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67297/read.awp</comments><pubDate>26 Sep 2019 14:50:58 Z</pubDate><description>maybe the problem is with dateformat. Try to use "YYYYMMDD" or "DDMMYYYY" , "MMDDYYYY". &#13;
If the problem is there, then you can …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67297/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server-67297/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67295-datedifference-with-native-sql-server/read.awp">Datedifference with native sql server</source><title>Re: Datedifference with native sql server</title></item></channel></rss>
