Click here to Skip to main content
15,886,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I am trying to programmatically get the last modified date of a webpage or site. The site can be static or dynamic. The site in question is not my site, which means I do not have any control over it. It can be a news site, a blog, a static ad site... anything.

Is it possible to do this using Google Custom Search API or any other API?

For example:

Type the following in the google search box - inurl:http://stackoverflow.com/questions/3189454/how-to-know-when-a-web-page-was-last-updated

I want to get the handle on the date. For the above the URL, the date tallies with the last updated date as seen on the site – Jul 6, 2010

I looked at an earlier SO Discussion[^] that didn't help me.
Posted
Updated 5-Feb-14 19:18pm
v6

 
Share this answer
 
Comments
CoderPanda 3-Feb-14 6:00am    
Thanks for the link.
My need is to fetch the last modified time of a website that I do not have any control over. The SO discussion is about providing the last modified time of my own website.
Your answer is here:

Use flags
 
Share this answer
 
Comments
CoderPanda 3-Feb-14 9:12am    
Can you please elaborate?
abdul subhan mohammed 3-Feb-14 9:18am    
http://msdn.microsoft.com/en-us/library/cc138362.aspx[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900