logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Creativity
Family Travel
Southwest USA
Irish Culture
Home Finance
Comedy Movies
Romance Novels


dailyclick
All times in EST

Clairvoyance: 08:00 PM

Full Schedule
g
g ASP Site

BellaOnline's ASP Editor

g

MonthName Date Function

Guest Author - Lisa Shea

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 Functions
This site needs an editor - click to learn more!

Add MonthName+Date+Function to Twitter Add MonthName+Date+Function to Facebook Add MonthName+Date+Function to MySpace Add MonthName+Date+Function to Del.icio.us Digg MonthName+Date+Function Add MonthName+Date+Function to Yahoo My Web Add MonthName+Date+Function to Google Bookmarks Add MonthName+Date+Function to Stumbleupon Add MonthName+Date+Function to Reddit




RSS | Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the ASP Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

g


g features
Best uses for RSS

RSS and its future.

Force Download Dialog box with ASP

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor