How to Use Last-Modified Header

    • 1). Open your Web page document with HTML or text editor. To open your document using the native Windows text editor, right-click the file, click "Open With." Click "Notepad" or "WordPad" from the application list and "OK."

    • 2). Click to place your cursor on a line between the "<head>" and "</head>" tags near the top of your document. Press "Enter" to create a blank line.

    • 3). Type "<meta" on the blank line and press "Space" to create a META tag.

    • 4). Type "http-equiv='last-modified'" and press "Spacebar" to define the following attribute as the HTTP "last-modified" header information.

    • 5). Type "content='YYYY-MM-DD@hh:mm:ss TMZ'>" and press "Enter." Replace the "YYYY" text with the four-digit year. Replace the "MM" text with the two-digit month. Replace the "DD" text with the two-digit day. Replace the "hh" text with the hour (using the 24-hour clock method), the "mm" text with the minute and the "ss" with the seconds you want displayed as the "last-modified" time. Replace the "TMZ" text with your three-digit time zone code. For example, to set the "last-modified" header field to December 25, 2000, at 2:55:02 PM, using Greenwich Mean Time, type "content='2000-12-25@14:55:02 GMT'>".

    • 6). Click the "File" menu and "Save" to save the Web page document.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.