Home » Get month name from integer VB.NET

Use this simple VB.NET code to return the name of the month from an integer.
Example: 1 = January ….. 12 = December

Home » Get month name from integer VB.NET


  • I Halligan

    Easier to use:–

    Dim xMonth As String = MonthName(MonthNum)

    MonthName is a builtIn function to VB.net

    • http://www.mikesel.info/ Mike Hudson

      Thanks for that suggestion. :)

  • I Halligan

    Easier to use:–

    Dim xMonth As String = MonthName(MonthNum)

    MonthName is a builtIn function to VB.net

    • http://www.mikesel.info/ Mike Hudson

      Thanks for that suggestion. :)

  • Pingback: URL


Page 1 of 11