Solved

How do I date stamp a document?

Posted on 1997-12-18
4
169 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Materializecss - Different Behaviors in Browser's 1 40
PHP Installer 5 38
website rewamp 5 42
Dreamweaver code color same as CS6 or CS2015 2 13
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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.

830 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