FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Adding a Day in WEBDEV (Not in WIndev)
Adding a Day in WEBDEV (Not in WIndev)
Débuté par Carlos Antunez, 27 aoû. 2017 22:44 - 1 réponse
Connectez-vous…
Carlos Antunez
#1
Posté le 27 août 2017 - 22:44
Hi All and thanks in advanced.
In WEBDEV I have the following code:
MyDate is Date = "20170101" // (01/01/2017)
My Date = MyDate..day += 5
Answer should be 20170106 (01/06/2017) Right?
Instead I get a Compiling Error
Sysntax Error on +=
The Help says Not Available in WEBDEV (Browser) but it doesnt say anything about Server Code
Does anyone have an idea what could be happening
Thanks for the Help
Signaler
0
0
Fabrice Harari
#2
Posté le 28 août 2017 - 13:33
Hi Carlos
You have an extra = in your code, and you should be adding to the day
property of the variable:
it should be
MyDate..day = MyDate..day + 5 (and not +=5)
OR
MyDate..day += 5
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 8/27/2017 à 2:44 PM, Carlos Antunez a écrit :
Hi All and thanks in advanced.
In WEBDEV I have the following code:
MyDate is Date = "20170101" // (01/01/2017)
My Date = MyDate..day += 5
Answer should be 20170106 (01/06/2017) Right?
Instead I get a Compiling Error Sysntax Error on +=
The Help says Not Available in WEBDEV (Browser) but it doesnt say
anything about Server Code
Does anyone have an idea what could be happening
Thanks for the Help
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte