bmanmike39
asked on
How do i subtract date1 from date2 and show the results
How do i subtract date1 from date2, and display the results.
Code i have:
Code i have:
DateTime date1 = DateTime.MinValue;
DateTime date2 = DateTime.MinValue;
DateTime.TryParse(x2, out date1);
DateTime.TryParse(x3, out date2);
what about this
DateTime dateDiff = DateTime.MinValue;
DateTime.TryParse(date2-da te1, out dateDiff );
DateTime dateDiff = DateTime.MinValue;
DateTime.TryParse(date2-da
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Anyway.... try this
Open in new window