Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check if there is 5 mins space between two datestime

DateTime a = new DateTime(2010, 05, 12, 13, 15, 00);
DateTime b = new DateTime(2010, 05, 12, 13, 45, 00);
Console.WriteLine(b.Subtract(a).TotalMinutes);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #mins #space #datestime
ADD COMMENT
Topic
Name
3+9 =