diff --git a/user_guide_src/source/database/results/013.php b/user_guide_src/source/database/results/013.php index 380945848ebb..d0b1e445f01f 100644 --- a/user_guide_src/source/database/results/013.php +++ b/user_guide_src/source/database/results/013.php @@ -16,7 +16,7 @@ public function lastLogin($format) public function __set($name, $value) { if ($name === 'lastLogin') { - $this->lastLogin = DateTime::createFromFormat('U', $value); + $this->lastLogin = DateTime::createFromFormat('!U', $value); } } diff --git a/user_guide_src/source/outgoing/response/022.php b/user_guide_src/source/outgoing/response/022.php index 62d7f65d07da..0fd2fa4776c0 100644 --- a/user_guide_src/source/outgoing/response/022.php +++ b/user_guide_src/source/outgoing/response/022.php @@ -1,4 +1,4 @@ setLastModified(date('D, d M Y H:i:s')); -$response->setLastModified(DateTime::createFromFormat('U', $timestamp)); +$response->setLastModified(DateTime::createFromFormat('!U', $timestamp));