CodeItBetter Programming Another VB Programming Blog

How to get the Last Modified Date of a Web Page

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'Internet - How to get the Last Modified Date of a Web Page

Option Explicit
 
'Some web pages have the information about the last date they have been modified.
'If the web page doesn't have this information, you will get an empty String.

'Add the Microsoft Internet Transfer Control to your program
'(Choose Project -> components, Select the Microsoft Internet Transfer Control)

Private Sub Command1_Click()
    Inet1.OpenURL "http://www.codeitbetter.com"
    MsgBox Inet1.GetHeader("Last-modified")
End Sub

Related posts:

  1. How to Retreive the Source code of a web page
  2. How to return the create date/time, last accessed date/time, last modified date/time of a given file
  3. How to Change Internet Explorer Start Page and Main Window Title
  4. How to get IP address from http://www.myipaddress.com/ (in two ways)
  5. How to check Current Date and Time
  6. How to Set the Visible page of a Mult-Tabbed Form
  7. How to find Last business day for the given date
  8. Visual Basic 6 Trial Program with date
  9. How to Create Internet Shortcut on your Desktop
  10. How to Add one day in current date

Filed under: Internet Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.