My SharePoint

I am trying to put my SharePoint experience here.

Thursday, August 19, 2010

How to get a month name from date

We can get the month name using following statement

CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(datValue.Month)

Cheers..
Posted by Amandeep Singh at 10:17 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Amandeep Singh
MCP, MCTS
View my complete profile
Stack Overflow profile for Amandeep at Stack Overflow, Q&A for professional and enthusiast programmers

Blog Archive

  • ►  2012 (3)
    • ►  January (3)
  • ►  2011 (4)
    • ►  June (3)
    • ►  May (1)
  • ▼  2010 (22)
    • ►  December (3)
    • ►  November (1)
    • ►  October (2)
    • ▼  August (7)
      • Query to SharePoint database and WSS_Logging Database
      • Monitoring SharePoint Usage through an ASP.NET Web...
      • How to get a month name from date
      • How to get all available page layouts which can be...
      • Check if List or document/Picture library already ...
      • Check if Page is already checked out
      • Open a SharePoint popup after server trip
    • ►  July (9)
  • ►  2009 (1)
    • ►  May (1)
Picture Window theme. Powered by Blogger.