<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>28 Oct 2019 15:29:32 Z</lastBuildDate><pubDate>27 Oct 2019 14:03:00 Z</pubDate><description>Bonjour, j'aurais besoin d'isoler les jour de fin de semaine et j'aimerais bien comprendre comment fonctionne DateVersJour(); Si j'exécute le code suivant;&#13;
[code:wl]&#13;
i est Date&#13;
nJour est Entier&#13;
POUR i = dDateDébut À dDateFin&#13;
	nJour = EntierVersJour(i..jour)&#13;
	SI nJour = 6 ALORS&#13;
		bFlagFDS = Vrai&#13;
		SORTIR&#13;
	SINON SI nJour = 7 ALORS&#13;
		bFlagFDS = Vrai&#13;
		SORTIR&#13;
	FIN&#13;
FIN&#13;
[/code]&#13;
La variable nJour me donne le bon numéro de jour alors que si j'éxécute le code suivant;&#13;
[code:wl]&#13;
i, nJour est entier&#13;
POUR i = DateVersEntier(dDateDébut) À DateVersEntier(dDateFin)&#13;
	nJour = EntierVersJour(i)&#13;
	SI nJour = 6 ALORS&#13;
		bFlagFDS = Vrai&#13;
		SORTIR&#13;
	SINON SI nJour = 7 ALORS&#13;
		bFlagFDS = Vrai&#13;
		SORTIR&#13;
	FIN&#13;
FIN&#13;
[/code]&#13;
La variable nJour me donne toujours le numéro du jour suivant ?&#13;
&#13;
Merci de votre aide.&#13;
&#13;
--&#13;
Jean Turcotte&#13;
WX 24&#13;
Android 8.0 sur Galaxy S8&#13;
Laptop Lenovo I7 12GB Ram</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp</link><title>Comment utiliser DateVersJour()</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Samir BOUCHETIBAT</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234092/read.awp</comments><pubDate>28 Oct 2019 15:29:32 Z</pubDate><description>Bonjour,&#13;
Pour info :&#13;
&#13;
https://doc.pcsoft.fr/fr-FR/?1000019883&amp;name=dernierjourdelasemaine-fonction&#13;
&#13;
Bon dev</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234092/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234092/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>Jean Turcotte</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234089/read.awp</comments><pubDate>28 Oct 2019 14:30:03 Z</pubDate><description>Merci, c'est effectivement plus simple comme ca. 8)&#13;
&#13;
--&#13;
Jean Turcotte&#13;
WX 24&#13;
Android 8.0 sur Galaxy S8&#13;
Laptop Lenovo I7 12G…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234089/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234089/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>François C.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234087/read.awp</comments><pubDate>28 Oct 2019 13:52:15 Z</pubDate><description>Hello,&#13;
&#13;
Je viens de tester ton code, et il me renvoi bien le bon n° de jour.&#13;
&#13;
Par contre, en conservant ta logique, tu pourr…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234087/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234087/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>Voroltinquo</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234085/read.awp</comments><pubDate>28 Oct 2019 13:27:10 Z</pubDate><description>Ne serait ce pas une histoire de semaine qui commence un dimanche ou vice versa ?&#13;
&#13;
--&#13;
Il y a peut être plus simple, mais, ça …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234085/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234085/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>Jean Turcotte</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234084/read.awp</comments><pubDate>28 Oct 2019 12:43:56 Z</pubDate><description>Bonjour, c'est vraiment bien de constater à quel point la programmation peut varier d'un programmeur à l'autre. Toutes vos métho…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234084/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234084/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>Philippe SB</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234069/read.awp</comments><pubDate>28 Oct 2019 09:04:02 Z</pubDate><description>Bonjour,&#13;
&#13;
Un exemple très simple:&#13;
[code:wl]&#13;
dDateDébut est une Date = DateSys()&#13;
dDateFin est une Date = DateSys()&#13;
&#13;
dDateF…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234069/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234069/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>jean.pierre.bloch</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234064/read.awp</comments><pubDate>27 Oct 2019 17:08:37 Z</pubDate><description>Bonjour,&#13;
&#13;
voir aussi https://doc.pcsoft.fr/fr-FR/?1000019883&amp;name=DernierJourDeLaSemaine&#13;
&#13;
--&#13;
Bon dev,&#13;
Jean-Pierre</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234064/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234064/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item><item><author>kick71</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234062/read.awp</comments><pubDate>27 Oct 2019 16:56:56 Z</pubDate><description>Bonjour,&#13;
&#13;
Peux être comme cela : ( j'ai bouclé du premier au dernier jour du mois pour exemple )&#13;
&#13;
[code:wl]&#13;
i 			est Date&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234062/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour-234062/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234059-comment-utiliser-dateversjour/read.awp">Comment utiliser DateVersJour()</source><title>Re: Comment utiliser DateVersJour()</title></item></channel></rss>
