New to C#, and I'm looking for a way to find the number of days between 2 dates. I've created 2 dateTimePickers (short format) on a form. I want to calculate the number of days between them. In VB I could do it with "lblResult.Caption = Abs(DateDiff("d", dtpStartDate, dtpendDate)) & " days"". I can't find something similar to DateDiff.
Thanks
Tim
Tim Ryan
PROGRESS Developer
Thanks
Tim
Tim Ryan
PROGRESS Developer