I'm trying to add a variable date to a variable number.
I'm currently trying to use the datetime2 package. I'm trying to get something like this (not actually working):
\documentclass[10pt]{article}
\usepackage[calc, datesep=/]{datetime2}
\DTMsavedate{ShootDate}{2016-05-20}
\newcommand{\PaymentTurnAroundDays}{45}
\begin{document}
Payment will be made by \DTMusedate{ShootDate}{\PaymentTurnAroundDays}\ (within{\PaymentTurnAroundDays} of the day of the event(s)).
\end{document}
To render as:
Payment will be made by 2016/07/04 (within 45 of the day of the event(s)).
This should add "shoot date (2016/05/20)" to "payment turn around in days(45)".
\begin{document} ... \end{document}) instead of a code fragment, which once copy past can be compiled. – Cfun Jul 04 '16 at 21:56