Jump to content

1st January 1970 Modified Date For Xml Files


scorseze
 Share

Recommended Posts

Hello,My first post here so please allow me to introduce myself. I'm James from Poland.Now, I've recently wondered why xml files that have an xsl stylesheet attached have this `year zero` modified date (i.e 1st January 1970 00:00:00). To see what I mean, take a look here: http://www.w3schools.com/xsl/cdcatalog_with_xsl.xmlThis is an xml file transformed with an xsl stylesheet. If you happen to be using Firefox, right click on that page and select `view page info`. You should see the modified date showing 1st January 1970.And here: http://www.w3schools.com/xsl/cdcatalog.xml is the xml file alone, this time the modified date is what you would expect.Why is it that the transformed xml files have the year zero date? How would I change it?

Link to comment
Share on other sites

In my Firefox the modified date says "Not specified".
Perhaps I should have been more specific on my Firefox, which is 3.0.10 on Win XP (also the latest version of FF 2 shows the same date). Do you have `not specified` date in both files?The thing is, I reckon that such files (with the year zero date) are not indexed by some web crawlers (eg. Google bot).
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...