You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
378 B
Plaintext

<%
'DatePart examples
'we will be using the Now() function for the date in all examples
'we will display the week number
Response.Write DatePart("ww" , Now) & "<br>"
'display the weekday
Response.Write DatePart("w" , Now) & "<br>"
'display the hour
Response.Write DatePart("h" , Now) & "<br>"
'display the day
Response.Write DatePart("d" , Now) & "<br>"
%>