diff --git a/matlab/@dynDate/display.m b/matlab/@dynDate/display.m
index 79d3289e0..740f66b22 100644
--- a/matlab/@dynDate/display.m
+++ b/matlab/@dynDate/display.m
@@ -17,20 +17,5 @@ function display(d)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
- fprintf('%s = \n')
+ fprintf('%s = \n', inputname(1), format(d));
end