Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> document.write(DateAdd("yyyy",1,"31-Jan-10") & "<br>") document.write(DateAdd("q",1,"31-Jan-10") & "<br>") document.write(DateAdd("m",1,"31-Jan-10") & "<br>") document.write(DateAdd("y",1,"31-Jan-10") & "<br>") document.write(DateAdd("d",1,"31-Jan-10") & "<br>") document.write(DateAdd("w",1,"31-Jan-10") & "<br>") document.write(DateAdd("ww",1,"31-Jan-10") & "<br>") document.write(DateAdd("h",1,"31-Jan-10 08:50:00") & "<br>") document.write(DateAdd("n",1,"31-Jan-10 08:50:00") & "<br>") document.write(DateAdd("s",1,"31-Jan-10 08:50:00") & "<br>") </script> </body> </html>
Result:
W3Schools.com - Try it yourself