Startseite › Foren › Deutsches LiveCode-Forum › Potenzieren › Antwort auf: Potenzieren
März 10, 2020 um 23:16 Uhr
#19538
on aktualisieren
// eingezahlte Beiträge
set the usesystemdate to true
put the date into fld "datuheu"
put fld "eing1" into dbeginn
put fld "datuheu"into dheute
put fld "eing2" into dende
set the itemDelimiter to "."
put the last item dheute &"-"& the last item dbeginn into datrech
put the value of datrech into jahre
subtract 1 from jahre
put jahre*12 into monate
add the second item of dheute to monate
put the value of (12&"-"&the second item of dbeginn&"+1") into mo
put the value of (mo&"+"&monate) into lo
put the value of (lo& "*"&fld "eing3") into fld "eing4"
z.B hier