Discussion Locked

Dynamic Date and Time Stamp for the Web

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I make a dynamic date and time stamp to be hidden in a web page, but printed as a header when the web page is printed?

5 replies

by andrew

Here's one solution using ASP to get the date, and STYLE block to set what content is visible on what medium (PRINT or SCREEN):

<%@ Language=VBScript %>

by sergey kovzik

#1 solution is ok, but not every browse will act as it should. It's better to have two pages - normal and "printer-friendly".

Sincerely, Sergey
Brainbench MVP for Win98 Administration

This discussion is closed to new replies.