Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Datediff in c#
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { DateTime endDate = Convert.ToDateTime("31/12/2016"); DateTime startDate = Convert.ToDateTime("01/01/2016"); int dayDiff = (endDate - startDate).Days; Console.WriteLine(dayDiff); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
caleb
a1
partial
NumberSeenSample
Intuit // C# // listing_4.1 (Console.WriteLine _ Форматный вывод)
Median in two sorted lists (O(m*n))
ElaineBrown**
examen res
1 to 1000 armstrong
Main3-2
Please log in to post a comment.