Demo: Maturity date of a fixed deposit

Select one year

<title>Demo Project on JavaScript Date function : Maturity </title>
<script type="text/javascript">
function show_date(){
var dt= new Date();
var msg="Today Date is : " + dt.toDateString();
var my_date= dt.getDate() + (document.getElementById("s1").value * 365);
msg = msg + "<br>Maturity Date : " + dt.toDateString();
document.getElementById("msg").innerHTML= msg;
return true;


<select id=s1 name=no_year onChange="show_date()";><option value=1>1 Year </option>
<option value=2>2 Year</option>
<option value=3>3 Year</option>
<option value=4>4 Year</option>
<option value=5>5 Year</option>

<div id='msg'></div>


Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer