|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2018-09-24 02:10 UTC] no-reply at example dot com
Description: ------------ DATE_RFC1123 The date constant format is different. Reference material for RFC1123. https://docs.microsoft.com/en-us/dotnet/api/system.globalization.datetimeformatinfo.rfc1123pattern?view=netframework-4.7.2 Test script: --------------- php -r "echo gmdate(DATE_RFC1123, gmmktime(0,0,0,1,1,2018));" Expected result: ---------------- Mon, 01 Jan 2018 00:00:00 GMT Actual result: -------------- Mon, 01 Jan 2018 00:00:00 +0000 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
<!DOCTYPE html> <html><head><meta charset="UTF-8"></head> <body><script> alert('RFC-1123 formatted date stamp is ' + (new Date).toUTCString()) </script> </html>