From 9337ca95f22477b01a1a8b0f4dd35347e59f2c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 28 Nov 2024 16:11:53 +0100 Subject: [PATCH] Manual: mention that basic date arithmetic is accepted in Dynare statements [skip ci] --- doc/manual/source/the-model-file.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 3685484cff..afaf9b4c4d 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -101,7 +101,10 @@ observed: quotes; * DATE indicates a time period which can be either a year (e.g. `2024Y` or `2024A`), a half-year (`2024S1` or `2024H1`), a quarter (`2024Q2`) or a month - (`2024M3`) (see :ref:`dates in a mod file`). + (`2024M3`) (see :ref:`dates in a mod file`). Optionally, the time period can + be followed by a plus sign and a number of periods, in which case the date is + shifted accordingly (e.g. `2023Q1+6` is accepted and is equivalent to + `2024Q3`). .. _var-decl: -- GitLab