<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Jul 2017 14:57:00 Z</lastBuildDate><pubDate>11 Jul 2017 22:14:00 Z</pubDate><description>i was wondering if theres a way to perform direct calculations on a integer&#13;
somthing like this;&#13;
&#13;
d1,d2,d3,d4 are dates&#13;
d1=IntegerToDate(date source,"MM") +6 (+6 months)&#13;
d1=01&#13;
d2=IntegerToDate(date source,"MM") +6 (+6 months)&#13;
d2=11/01/2018&#13;
&#13;
instead of returning 11/07/2017&#13;
it now returns 11/01/2018&#13;
&#13;
cuz using LastDayOfMonth() then convert it back to integer is such a hustle ,...&#13;
is the integer not designed to perform calculations on directly?&#13;
I mean after all we talking about a rapid development platform.&#13;
&#13;
&#13;
Or am i just missing the right command?&#13;
&#13;
Also i find the example calculating on dates some what disepointing (to low on example content)</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate/read.awp</link><title>Performing direct calculations (IntegerToDate)</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/61689-performing-direct-calculations-integertodate-61715/read.awp</comments><pubDate>12 Jul 2017 14:57:00 Z</pubDate><description>Hi testal,&#13;
&#13;
I do not know if the documentation is not clear enough or if your approach to the problem is the good one. Your pr…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61715/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61715/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate/read.awp">Performing direct calculations (IntegerToDate)</source><title>Re: Performing direct calculations (IntegerToDate)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61700/read.awp</comments><pubDate>12 Jul 2017 10:57:00 Z</pubDate><description>d4 msut be one date varialbe and d2 numeric (int, currency,...)&#13;
&#13;
just use d4..Month += d2 instead of d4..Month =+ d2</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61700/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61700/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate/read.awp">Performing direct calculations (IntegerToDate)</source><title>Re: Performing direct calculations (IntegerToDate)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61698/read.awp</comments><pubDate>12 Jul 2017 02:50:00 Z</pubDate><description>@alexandre&#13;
&#13;
i tried to a edited version of ur code in a loop buth it doesent seem to work&#13;
break fails.The code below d4 =the …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61698/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61698/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate/read.awp">Performing direct calculations (IntegerToDate)</source><title>Re: Performing direct calculations (IntegerToDate)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61697/read.awp</comments><pubDate>11 Jul 2017 22:41:00 Z</pubDate><description>Hi,&#13;
&#13;
Why not simply add the days since you use a date variable? It is way more easy, unless I'm missing something.&#13;
&#13;
d is Dat…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61697/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61697/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate/read.awp">Performing direct calculations (IntegerToDate)</source><title>Re: Performing direct calculations (IntegerToDate)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61696/read.awp</comments><pubDate>11 Jul 2017 22:40:00 Z</pubDate><description>Hi&#13;
&#13;
if I understand correctly the question, you should do this:&#13;
&#13;
dDate is date=DateSource&#13;
DDate..Month+=6&#13;
info(dDate)&#13;
&#13;
B…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61696/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate-61696/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61689-performing-direct-calculations-integertodate/read.awp">Performing direct calculations (IntegerToDate)</source><title>Re: Performing direct calculations (IntegerToDate)</title></item></channel></rss>
