public static void Main()
Console.WriteLine("Hello World");
DateTime dateTime = DateTime.Now;
Console.WriteLine("DateTime Now: " + dateTime);
Console.WriteLine("Current Month: " + DateTime.Now.Month);
int month = DateTime.Now.Month;
int year = DateTime.Now.Year;
Console.WriteLine("Start Time of Month: " + new DateTime(year, month, 1, 0,0,0));
int days = DateTime.DaysInMonth(year, month);
Console.WriteLine("End Time of Month: " + new DateTime(year, month, 1, 23,59,59).AddDays(days-1));
<h3 style="text-align: center;"><strong>Expenses - Oct 2018</strong></h3>
<table style="height: 12px;" width="100%">
<td style="width: 50%;">Total Limit:<strong> 20000/-</strong></td>
<td style="width: 50%;"> </td>
<td style="width: 50%;">Total Expenses: <strong>18000/- </strong></td>
<td style="width: 50%;">Remaining: <strong>2000/-</strong></td>
<table style="width: 100%; height: 25px;">
<td style="width: 33%;">01-Oct-2018</td>
<td style="width: 33%;">Auto Charges</td>
<td style="width: 33%; text-align: right;">20/-</td>
<td style="width: 33%;">02-Oct-2018</td>
<td style="width: 33%;">Auto Charges</td>
<td style="width: 33%; text-align: right;">30/-</td>