?
Solved

How do I date stamp a document?

Posted on 1997-12-18
4
Medium Priority
?
172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

800 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