Use $wgLang->date() instead of $wgLang->timeanddate()