Best way to get the current month number in C# September 6, 2023 by Tarik string sMonth = DateTime.Now.ToString("MM");