using System;
public class Program
{
public static void Main()
var dateFromInput = "30/12/2021";
var dateFrom = DateTime.Parse(dateFromInput);
}