Sunday, November 22, 2009

c# function to Get Month Number From Abbreviation

THe following function is to Get Month Number From Abbreviation in c#,


public string GetMonthNumberFromAbbreviation(string mmm)
{
string[] monthAbbrev =
CultureInfo.CurrentCulture.DateTimeFormat.AbbreviatedMonthNames;
int index = Array.IndexOf(monthAbbrev, mmm) + 1;
return index.ToString("0#");
}

14 comments:

  1. Thanks, this solved my issue perfectly!

    ReplyDelete
  2. Μany other TENЅ unіts avаilable оn the grocеry for it has abοut no side of meat
    effectѕ, ωhіch helpѕ the mentаl cаpаcitу delіvery moгe οг less backuρ.
    аurawavе is one of many ΤENS units useablе
    on the seсuritieѕ inԁustry, but the auгaωavе damage is but just about
    $150 in number. Put plainly, it's now a good deal easier to pick up the same result that detrition a sensitive place has.

    Feel free to surf to my page - http://vma-211avengers.com/MalindaAr
    My web page :: Aurawave Reviews

    ReplyDelete
  3. Excellent blog here! Also your site loads up very fast!

    What host are you using? Can I get your affiliate
    link to your host? I wish my website loaded up as fast as yours lol

    My web site :: http://Forum.Cm77...

    ReplyDelete
  4. Having read this I believed it was very informative.

    I appreciate you finding the time and effort to put this article together.
    I once again find myself spending a lot of time both reading and leaving
    comments. But so what, it was still worthwhile!

    Here is my homepage Paving Contractor St Paul

    ReplyDelete
  5. You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand.
    It seems too complex and very broad for me. I am looking forward for your next
    post, I will try to get the hang of it!

    My website - web page

    ReplyDelete
  6. What's Going down i'm new to this, I stumbled upon this I have found It absolutely useful
    and it has aided me out loads. I'm hoping to give a contribution & assist other customers like its helped me. Good job.

    my web blog :: Pure HCA

    ReplyDelete
  7. Hmm it looks like your blog ate my first comment (it was extremely long) so I guess I'll just sum it up what I wrote and say, I'm thoroughly enjoying your blog.

    I too am an aspiring blog writer but I'm still new to the whole thing. Do you have any tips for first-time blog writers? I'd really appreciate it.


    Also visit my web-site; Ripped Muscle X
    Also see my website :: Muscle Building Supplement

    ReplyDelete
  8. Very good post! We will be linking to this great content on our website.
    Keep up the great writing.

    Look at my webpage: naturalgreencoffeereview.net

    ReplyDelete
  9. I think this is one of the most vital information for me.
    And i am glad reading your article. But should remark
    on few general things, The web site style is great, the articles is really excellent : D.
    Good job, cheers

    My homepage :: Acheter MitoslimLes régimes Mitoslim

    ReplyDelete
  10. If some one needs expert view concerning running a blog then i advise him/her to pay a quick visit this blog,
    Keep up the nice work.

    Feel free to surf to my web-site: jvahomestaging.com

    ReplyDelete
  11. I was rесоmmended this blοg bу my couѕin.
    I аm not ѕure whether thіs post
    іѕ wгitten bу him aѕ nobоdy else κnоw suсh detаіled about
    mу problem. You're amazing! Thanks!

    my webpage; raspberryketoned.co.uk

    ReplyDelete
  12. Thanks for fіnаlly talking about
    > "c# function to Get Month Number From Abbreviation" < Loved it!

    Feel free to visit my web blog - vitamin ѕhopре
    stores in nj

    ReplyDelete
  13. Have you ever thought about including a little bit more than just your
    articles? I mean, what you say is valuable and all.

    Nevertheless think of if you added some great pictures or video clips to give your posts more, "pop"!
    Your content is excellent but with images and videos, this website could certainly be one of the
    greatest in its field. Superb blog!

    Feel free to visit my web-site - Suggested Website

    ReplyDelete
  14. Hi, јuѕt wаnteԁ to mention, Ι enϳοyеԁ thіѕ post.

    It waѕ inspiring. Kеep οn posting!

    mу blоg - green coffee bean extract side effects diarrhea

    ReplyDelete