%
'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) & "
"
'display the weekday
Response.Write DatePart("w" , Now) & "
"
'display the hour
Response.Write DatePart("h" , Now) & "
"
'display the day
Response.Write DatePart("d" , Now) & "
"
%>