[ticket/13216] Use gmdate() instead of date() in datetime tests

https://tracker.phpbb.com/browse/PHPBB3-13216