Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Get days from two dates
//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) { TimeSpan timespan1; timespan1 = DateTime.UtcNow.Date.Subtract( new DateTime(2018, 03, 28, 07, 12, 42, 743).Date); Console.WriteLine(timespan1.TotalDays); } } }
run
|
edit
|
history
|
help
0
Using System.Reflection to find Property Name and Value of any Generic Class
15
C# - String Parsing
Side1-2
Word count in string
testing DT Serialization
Classes, properties, methods, ling begining
Recursive 3
Danny Garcia vs. Jose Benavidez Jr Live Stream
Exemple Regex