subtract dates

Stimulsoft Reports.NET discussion
Post Reply
Roger
Posts: 10
Joined: Wed May 30, 2007 9:39 am
Location: Dordrecht, The Netherlands

subtract dates

Post by Roger »

I like to subtract dates in a calculated column (EndTime - StartTime)

I need this in a calculated column so I can add the total

Thanks in advance.
Roger
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

subtract dates

Post by Vital »

You can use any methods and properties from standard DateTime class. For example:

Code: Select all

EndTime.Subtract(StartTime)
Roger
Posts: 10
Joined: Wed May 30, 2007 9:39 am
Location: Dordrecht, The Netherlands

subtract dates

Post by Roger »

Thanks for the reply.

I'll try it.

Roger
Post Reply