Replace date() with dformat()

Fix CodeSniffer violations for the
DokuWiki.PHP.DiscouragedFunctions.DiscouragedWithAlternative sniff by
replacing date() with dformat().