Breaking News

Wednesday, July 4, 2012

Ex22: Add a time interval to a date in VBScript


<!DOCTYPE html>
<html>
<body>


<script type="text/vbscript">
document.write(DateAdd("d",30,Date()))
</script>


<p>
This example uses <b>DateAdd</b> to calculate a date 30 days from today.
</p>
<p>
Syntax for DateAdd: DateAdd(interval,number,date).
</p>


</body>
</html>

No comments:

Post a Comment

Designed By Published.. Blogger Templates