Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> d=CDate("2010-02-16") document.write(DatePart("m",d)) </script> </body> </html>