0

What are "+0000" at ends of dates on web page e.g "Fri, 11 Jan 2019 14:12:57 +0000"?

I going through the university tutorials. I am struggling to add these zeros at the end of the code . Also what are they for? Here is my current code code: <p><?php echo "Posted on " .date('l jS \of F Y h:i:s A')."<i>Paul Bell</i>"; ?></p> Output: Thursday 27th of July 2023 11:18:34 AM Expected Output: Thurs, 27th Jan 2023 14:12:57 +0000

27th Jul 2023, 10:27 AM
Shubham Ambekar
Shubham Ambekar - avatar
1 Réponse
+ 2
The +0000 at the end of dates on web pages indicates the time zone offset from the Coordinated Universal Time (UTC). It means that the date and time are in the same time zone as UTC, which is also known as Greenwich Mean Time (GMT) or Zulu Time (Z). https://stackoverflow.com/questions/15433377/how-parse-2013-03-13t2059310000-date-string-to-date
27th Jul 2023, 11:53 AM
Yasin Rahnaward
Yasin Rahnaward - avatar