<!DOCTYPE html>
<html>
<body>
<%
response.write(FormatDateTime(Date(),vbGeneralDate))
response.write("<br>")
response.write(FormatDateTime(Date(),vbLongDate))
response.write("<br>")
response.write(FormatDateTime(Date(),vbShortDate))
response.write("<br>")
response.write(FormatDateTime(Now(),vbLongTime))
response.write("<br>")
response.write(FormatDateTime(Now(),vbShortTime))
%>
<p>Syntax for FormatDateTime: FormatDateTime(Date,namedformat).</p>
</body>
</html>