Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7834061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:02:41+00:00 2026-06-02T13:02:41+00:00

I have a RSS with: <pubDate>Fri, 20 Apr 2012 08:00:00 GMT</pubDate> And validator said

  • 0

I have a RSS with:

<pubDate>Fri, 20 Apr 2012 08:00:00 GMT</pubDate>

And validator said it is not proper because:

http://validator.w3.org/feed/docs/warning/ImplausibleDate.html

“While this date-time value is formatted correctly, it either appears to be in the future, or far enough in the past to indicate that there might either be a software error, or an incorrectly set clock, involved.

While the RSS 2.0 spec anticipated that some aggregators may chose to ignore items with pubDates in the future, this practice never seemed to catch on.

Instead, many clients sort by dates, either by default, or as an option. For this reason, it is important that date values are as accurate as possible.

One common error, particularly among the British and Western Europe during the summer time (i.e., during the periods of BST and WEST), is for the numeric part of the time to reflect local time and for the zone part of the time to hard code GMT.
“

I generate the date with:

<pubDate>$data2 GMT</pubDate>

where $data2 is taken from database as folows:

DATE_FORMAT(DATE,'%a, %d %b %Y %T')

And the DATE was received by mysql function NOW().

It’s weird because here we have 9:24 o’clock but we had in Poland change of time lately. So how can i fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T13:02:46+00:00Added an answer on June 2, 2026 at 1:02 pm

    Add your timezone instead of GMT:

    <pubDate>$data2 +0200</pubDate>
    

    That should do it. Note that your timezone might change over the year, so you might want to dynamically generate it:

    $data2 .= date(' O');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From a rss feed i have either pubdate as well the timestamp: pubdate: Thu,
I have this XML : <?xml version=1.0 encoding=utf-8?> <rss version=2.0 xmlns:atom=http://www.w3.org/2005/Atom> <channel> <atom:link href=http://www.montagnaconamore.it/rss/news.xml
I have an RSS feed which for some reason is not showing my PHP
I have RSS like this: <title>Session 1</pubDate> <category>Blue</category> <category>Green</category> <evnet:starttime>Mon, 15 Mar 2010 12:05:00
I have an RSS feed which has an image and some text. I want
I have a RSS feed i need to display in a table (its clothes
I have an RSS feed and I want to integrate each item into it
Edit: Translated I have a RSS-feed that i want to parse. It's a podcast
I have a shared site in sharepoint and have some RSS feed webpart in
I have a YouTube RSS feed set up to show YouTube videos in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.