12 lines
378 B
Plaintext
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>"
|
|
%> |