Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> d=CDate("2010-02-16 13:45") document.write(FormatDateTime(d) & "<br>") document.write(FormatDateTime(d,1) & "<br>") document.write(FormatDateTime(d,2) & "<br>") document.write(FormatDateTime(d,3) & "<br>") document.write(FormatDateTime(d,4) & "<br>") </script> </body> </html>