Function to add two dates together
<html>
<head>
<title>DynAPI Examples - Functions</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.library');
dynapi.library.include('dynapi.functions');
dynapi.library.include('dynapi.api');
</script>
</head>
<body>
<font face="arial" size="2">
<script>
var doc=document;
f=dynapi.functions;
doc.write('dateAdd: '+f.dateAdd('year',2.25,'1/1/2002 12:00')+'<br><br>');
</script>
</font>
</body>
</html>
dynapi.zip( 791 k)Related examples in the same category