MonthName Date Function

If you've got a date and want to display the real world name of that month to display, the monthname function is what you want.

This function does NOT take in a full date - it takes in the month's ID number. So January is 1, February is 2, and so on. You can easily get the month number from a date using the Month function. So your code might look something like this -

CurrDate = Now()
CurrMonthID = Month(CurrDate)
CurrMonthName = MonthName(CurrMonthID)
response.write "It is the lovely month of " & CurrMonthName

ASP Date and Time Functions