Script Categories

Page Details >>> Launch Date.

Displays one of two messages after comparing the current date on the user's computer to a date that you determine, such as a product or web site launch date. A before or after message can be customized with your own HTML code, including images.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function launchCheck() {
var today = new Date(); // today
var date = new Date("January 1, 2001"); // your launch date
if (today.getTime() > date.getTime()) { // on or after launch date
document.write('<b>It is after our launch date of January 1, 2001 !</b>');
else { // before launch date
document.write('We have not yet reached the demo lauch date of January 1, 2001.<p><font size=-1>(For this demo, you can see the other message by changing your computer clock to after January 1, 2001.)</font>');
//  End -->

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).