/ Published in: C#
                    
                                        
Get month name for given integer.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
GetMonthName(i, false)
private static string GetMonthName(int month, bool abbrev)
{
if (abbrev) return date.ToString("MMM");
return date.ToString("MMMM");
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                