I want to make static time shedule for year. it should show me,
daily time shedule in hours. Example (15/24) 1 day
weekly time shedule in hours Example (15/168) 1 week
Monthly time shedule in hours Example (15/744) 31 days
in monthly shedule its upto days. 28, 30 or 31
Yearly time shedule in hours Example (15/8760) 1 year
Ask me what you don't understand.

Sachin SinghRank #66 · 26.2K reputationPosted Jan 23, 2023, 12:59 AM EST
Yes, couldn't understand anything.
Guest UserRank #1,881 · 787 reputationPosted Jan 23, 2023, 3:41 PM EST
Example of imange & code
lbltoday.Text = (decimal.Parse(DateTime.Now.ToString("HH")) - 1).ToString(); lblWeek.Text = (int.Parse(lbltoday.Text) + ((int)DateTime.Now.Date.DayOfWeek *24)).ToString();