Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> document.write(DateValue("31-Jan-10")) document.write("<br>") document.write(DateValue("31-Jan")) </script> </body> </html>