Page 1 of 1

subtract dates

Posted: Wed May 30, 2007 9:44 am
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

subtract dates

Posted: Thu May 31, 2007 3:40 am
by Vital
You can use any methods and properties from standard DateTime class. For example:

Code: Select all

EndTime.Subtract(StartTime)

subtract dates

Posted: Fri Jun 01, 2007 5:14 am
by Roger
Thanks for the reply.

I'll try it.

Roger