PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Problem when calculate a date
Problem when calculate a date
Iniciado por mail, 28,may. 2016 18:11 - 5 respuestas
Publicado el 28,mayo 2016 - 18:11
Hello,
I have no idea..
How to add the current date one or more months .
Please help..

Thank you, ..

Kind regard caddy
Publicado el 30,mayo 2016 - 15:20
Hi Caddy,

MyDate is date
MyDate..Month+=2

Best regards

--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com
Publicado el 31,mayo 2016 - 09:16
Hi Frabrice,

many thanks for the answer.
But when i do this the result is only the month..

what do i wrong ?

many thanks,

caddy
Miembro registrado
102 mensajes
Publicado el 31,mayo 2016 - 11:48
dMydate is Date
Trace(dMydate) //20160531
dMydate..Month += 2
Trace(dMydate) //20160731


--
http://arnoldconsult.de
WinDev 20 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Publicado el 31,mayo 2016 - 19:51
You have an error at line 7 of your code...

Best regards


--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com
Publicado el 01,junio 2016 - 08:19
Hi all,

many thanks .. ist work :)

KR caddy