public static void Main() { var firstDate = DateTime.ParseExact(Console.ReadLine(), "yyyy MM dd", CultureInfo.InvariantCulture); var secondDate = DateTime.ParseExact(Console.ReadLine(), "yyyy MM dd", CultureInfo.InvariantCulture); var dateModifier = new DateModifier(firstDate, secondDate); dateModifier.CalculateDifference(); }
static void Main(string[] args) { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); DateModifier dateModifier = new DateModifier(); Console.WriteLine(dateModifier.DateDifference(firstDate, secondDate)); }
public static void Main() { var first = Console.ReadLine(); var second = Console.ReadLine(); DateModifier diff = new DateModifier(); diff.GetDifferens(first, second); }
static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); var difference = DateModifier.CalculateDifference(firstDate, secondDate); Console.WriteLine(difference); }
static void Main(string[] args) { var firstDate = Console.ReadLine(); var secondDate = Console.ReadLine(); int difference = DateModifier.GetDifferenceBetween(firstDate, secondDate); Console.WriteLine(difference); }
static void Main(string[] args) { string date1 = Console.ReadLine(); string date2 = Console.ReadLine(); DateModifier DM = new DateModifier(date1, date2); Console.WriteLine(DM.CalculateDiff()); }
static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); DateModifier date = new DateModifier(); date.GetDayDifference(firstDate, secondDate); }
public static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); int diference = DateModifier.GetDiference(firstDate, secondDate); Console.WriteLine(diference); }
static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); DateModifier modifier = new DateModifier(); modifier.FindDifference(firstDate, secondDate); Console.WriteLine(modifier.DateDifferenceDays); }
public static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); DateModifier dateMod = new DateModifier(firstDate, secondDate); Console.WriteLine(dateMod.GetTimeDiff()); }
static void Main() { DateModifier date = new DateModifier(); date.DateFirst = DateTime.ParseExact(Console.ReadLine(), "yyyy MM dd", DateTimeFormatInfo.InvariantInfo); date.DateSecond = DateTime.ParseExact(Console.ReadLine(), "yyyy MM dd", DateTimeFormatInfo.InvariantInfo); Console.WriteLine(date.DaysDiff(date.DateFirst, date.DateSecond)); }
public static void Main() { string firstDateStr = Console.ReadLine(); string secondDateStr = Console.ReadLine(); DateModifier dateModifier = new DateModifier(firstDateStr, secondDateStr); Console.WriteLine(dateModifier.DifferenceInDays); }
public static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); DateModifier date = new DateModifier(); Console.WriteLine(date.CalculateDifference(firstDate, secondDate)); }
static void Main(string[] args) { var date1 = Console.ReadLine(); var date2 = Console.ReadLine(); var datesToCheck = new DateModifier(); Console.WriteLine(datesToCheck.DaysDifference(date1, date2)); }
static void Main(string[] args) { var firstInput = DateTime.ParseExact(Console.ReadLine(), "yyyy MM dd", null); var secondInput = DateTime.ParseExact(Console.ReadLine(), "yyyy MM dd", null); var obj = new DateModifier(firstInput, secondInput); Console.WriteLine(obj.DateDiff()); }
static void Main(string[] args) { string fisrtDate = Console.ReadLine(); string secondDate = Console.ReadLine(); var date = DateModifier.Modifier(fisrtDate, secondDate); Console.WriteLine(date); }
static void Main(string[] args) { string date1 = Console.ReadLine(); string date2 = Console.ReadLine(); DateModifier newModifier = new DateModifier(); int days = newModifier.GetDifference(date1, date2); Console.WriteLine(days); }
public static void Main() { var dateOne = Console.ReadLine(); var dateTwo = Console.ReadLine(); var dateModifier = new DateModifier(); Console.WriteLine(dateModifier.CalculateDaysDiff(dateOne, dateTwo)); ; }
public static void Main() { var firstDate = Console.ReadLine(); var secondDate = Console.ReadLine(); var dateTime = new DateModifier(); Console.WriteLine(dateTime.DayDifference(firstDate, secondDate)); }
public static void Main(string[] args) { string date1 = Console.ReadLine(); string date2 = Console.ReadLine(); DateModifier dateModifier = new DateModifier(); Console.WriteLine(dateModifier.CalculateDifference(date1, date2)); }
public static void Main(string[] args) { var firstDate = Console.ReadLine(); var secondDate = Console.ReadLine(); var diff = DateModifier.CalculateDiff(firstDate, secondDate); Console.WriteLine(diff); }
public static void Main() { DateModifier modifier = new DateModifier(); string date1 = Console.ReadLine(); string date2 = Console.ReadLine(); Console.WriteLine(modifier.CalculateDayDifferenceBetweenTwoDates(date1, date2)); }
static void Main() { var firstDate = Console.ReadLine(); var secondDate = Console.ReadLine(); var difference = new DateModifier(); difference.CalculateDifference(firstDate, secondDate); Console.WriteLine(difference); }
static void Main(string[] args) { var firstDate = Console.ReadLine(); var secondDate = Console.ReadLine(); var mod = new DateModifier(); Console.WriteLine(mod.GetDateDifference(firstDate, secondDate)); }
static void Main(string[] args) { var firstDate = Console.ReadLine(); var secondDate = Console.ReadLine(); var days = new DateModifier(); days.CalculateDifference(firstDate, secondDate); Console.WriteLine(days.DaysDifference); }
static void Main(string[] args) { var startData = Console.ReadLine(); var endData = Console.ReadLine(); DateModifier diff = new DateModifier(startData, endData); var result = diff.differenceBetweenDate(startData, endData); Console.WriteLine(result); }
static void Main() { string firstInput = Console.ReadLine(); string secondInput = Console.ReadLine(); DateModifier dm = new DateModifier(); int difference = dm.CalculateDaysBetweenDates(firstInput, secondInput); Console.WriteLine(difference); }
static void Main(string[] args) { var firstDate = DateTime.Parse(Console.ReadLine()); var secondDate = DateTime.Parse(Console.ReadLine()); DateModifier date = new DateModifier(); var result = date.CalculateDifference(firstDate, secondDate); Console.WriteLine(result); }
static void Main(string[] args) { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); DateModifier dateModifier = new DateModifier(); var days = Math.Abs(dateModifier.DifferenceBetweenTwoDates(firstDate, secondDate)); Console.WriteLine(days); }
static void Main() { var date1 = Console.ReadLine(); var date2 = Console.ReadLine(); DateModifier modifier = new DateModifier(); modifier.DateDifference(date1, date2); Console.WriteLine(modifier.Difference); }