Problem C# Program to Finding all weekends within specified date range For e.g. get all weekends i.e. Sunday and Saturday count in a year Solution Continue reading Finding weekends within specified date range
Problem How to get next working day as if it’s regular day the calculation are quite simple. When it’s Friday or Saturday then it’s difficult to find next working day Solution Continue reading Find Next Working Day
Problem How do I find the date of week start from date? For e.g. Let’s consider 27-May-2020 is date and my week start day is Monday. Output should display the Monday’s data from that week as start of week. Solution Continue reading Find Starting of week
Problem Given a DateTime representing a person’s birthday, how to calculate their age in years, days, hours? Solution Continue reading Calculate Age
Problem Write a C# program to validate if provided date is valid or not without using C# in-build library. Solution Continue reading Is date valid?