fix #34421: add macros for last modified time and date

and fix the case when the creationDate meta tag is empty.
Merge pull request #1339 from Jojo-Schmitz/last-modified

fix #34421: add macros for last modified time and date