Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Performing direct calculations (IntegerToDate) (2 replies)

$
0
0
i was wondering if theres a way to perform direct calculations on a integer
somthing like this;

d1,d2,d3,d4 are dates
d1=IntegerToDate(date source,"MM") +6 (+6 months)
d1=01
d2=IntegerToDate(date source,"MM") +6 (+6 months)
d2=11/01/2018

instead of returning 11/07/2017
it now returns 11/01/2018

cuz using LastDayOfMonth() then convert it back to integer is such a hustle ,...
is the integer not designed to perform calculations on directly?
I mean after all we talking about a rapid development platform.


Or am i just missing the right command?

Also i find the example calculating on dates some what disepointing (to low on example content)

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>