View Single Post
Old 04-28-2024, 04:08 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Does this do what you want?

Code:
program:

mynum = strcat($$#completiondate, 'd');

date_arithmetic(today(),mynum)
EDIT: This'll probably fall over if you have nothing in completiondate, an if-then should help:

Code:
program:

	if 
		!$$#completiondate
	then ''

	else 
		mynum = strcat($$#completiondate, 'd');
		date_arithmetic(today(),mynum)
	fi

Last edited by ownedbycats; 04-28-2024 at 04:13 PM.
ownedbycats is offline   Reply With Quote