This seems to sort of work:

<<formula "add_days(tw_date('20180622'), 5)">>

This converts your almost-TW date into an addable date before the addition.

In my timezone, the result if off by one day (06-26). I think it's because 
you're not specifying the hour, minutes, seconds. So, your results may vary.

-- Mark


On Friday, June 22, 2018 at 8:51:48 AM UTC-7, Hubert wrote:
>
> I'm having problems getting this right. Evan's <<formula>> documentation 
> <https://evanbalster.com/tiddlywiki/formulas.html#Functions> shows the 
> following syntax to add days to a date:
>
> add_days(d1,n)
>
> But when I attempt this...
>
> <<formula "add_days('20180622', 5)">>
>
> ...I get the following error:
>
> ComputeError: Cannot auto-convert "20180622" to a date!
>
> What exactly am I doing wrong?
>
> Thank you for your help!
>
> Regards,
> Hubert
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2e8d412b-62e7-4b9a-8d16-0ac79be8b334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to