Script Categories

Date & Time >>> Future Date.

This script will print out a date a certain number of days in the future. You can tell a customer their order will be filled by the date in the future, etc.

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 AddDays(form) {

var now=new Date();
var newdate=new Date();
var newtimems=newdate.getTime()+(DaysToAdd*24*60*60*1000);
// End -->
<form name=form>
type=text name=DaysToAdd size=5 value=10>
type=button value="days from today will be..." onclick="AddDays(this.form)">
type=text name="display" size=35 value="">

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!).