<% Response.Write DatePart("m", Date()) %>
This script displays the current month number like this: 11
If you want to display the name of a month, you can use this code:
<% DIM iMonth iMonth = Month(now) Response.Write MonthName(iMonth) %>
Both of these scripts display the month name like this: November
No comments:
Post a Comment