Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# datediff minutes


DateTime startTime = varValue
DateTime endTime = varTime

TimeSpan span = endTime.Subtract ( startTime );
Console.WriteLine( "Time Difference (minutes): " + span.TotalMinutes );

Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #datediff #minutes
ADD COMMENT
Topic
Name
7+1 =