Thank you very much for your code and suggestions. I am trying to teach myself from the internet mainly as my course is by correspondence and we don't get much help from the teachers.
I ran the code above and this is what I received in the program.
This page was last updated on 1 12-10-2012 @ 06:47:08.
1. I don't know where the 1 is coming from.
2. I need to get a day like (Monday, Tuesday) coming up according to the last modifed date.
3. I don't need the time.
4. It is a month late as I updated it today (Last modified: Monday, 12 November, 1012). This is the format I am trying to achieve.