Solved

How do I date stamp a document?

Posted on 1997-12-18
4
165 Views
Last Modified: 2013-12-25
One of the search engines lists us like this:
"Download iBASE, the database and document manager for small businesses   About iBASE   Download   Order now   Product support   OEMs and ISVs... Date Not Available"
How do I get the last modified date to show up?
0
Comment
Question by:mika012097
  • 3
4 Comments
 
LVL 6

Expert Comment

by:tecbuilder
ID: 1856018
The last modified date is retrieved from the server.  I'm not exactly sure why the server doesn't always allow this information to be obtained.  When I use the javascript lastModified function sometimes it gets the correct date and others it doesn't.  

What is in your Meta tags and the first few lines of code on your page?
0
 
LVL 6

Accepted Solution

by:
tecbuilder earned 100 total points
ID: 1856019
I was just thinking that if all you want is to have some code that displays your last modified date on you page then you can use the following code:

<script language="javascript">
<!--
document.write("Last modified " + document.lastModified);
//-->
</script>

This may take care of what you were asking.  If not, then it would be good to see some of your code either shown here or the URL.

0
 

Author Comment

by:mika012097
ID: 1856020
But I don't want the date last modified to show up in my document...
0
 
LVL 6

Expert Comment

by:tecbuilder
ID: 1856021
I apologies for not responding sooner.  I didn't get an email stating that you made a commented to the question and I was going back through all the questions I responded to and noticed that you did make a comment.

If you don't want the last modified date to show on you web page then don't use the script.  The last modifed date exists at the server only.  Does the search engine that you are referring to have 2 fields.  One for the description and one for the last modified date?  If so then what had happened is that when the search engine looked at your page and made a request to your server for the date last modified it received an error in retreiving the date.  So it inserted the Date Not Available into the field.  The only way to change this at the search engine is to have them re-scan your site.

If there is only 1 field then there is something at the very beginning of your page that is doing un-anticipated things.  I cannot tell you specifically without seeing the page.  If you aren't using Meta tags then you need to.  Below is the 2 that you need to include in the heading of your page.  This will solve the problem when your page is re-scanned by the search engine.

<META name="description" content="A description of your site goes here.">
<META name="keywords" content="Your, Sites, Keywords">

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 145
MySQL database data submission 7 59
Adding a hidden div to each row in a table 6 61
compact pure CSS Read More Toggle 4 22
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now