Run Code
|
API
|
Code Wall
|
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
random number generator
Fuuuu
Volatile madness
C# - a method that accepts an indefinite number of parameters
Code which will convert Word into its Binary Format
Binary Hex Decimal Systems
String Factorial Sorter
Event test
Task 2
Rextester.Program.Main