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
Linked list problem with remove
Can a == true && a == false be true in C#?
Reverse a string
Changing asp net user password
Exception handling2
PYRAMIDPATTERN
C# practice
exception implicit toString
2 point gradient (v2)
Program 1