Calculate StartTme - EndTime

S

Serdal

Hi @ all,

I have a problem to calculate StartTime - EndTime. The result in antoher
field.

Thanks for Answers...
 
S

Serdal

H Hi,

thank you for your efforts...this is a helpfull website, but that won't
solve my case. I know to write custom code (by the EndTime an AfterChange
Event).

My main problem is to subtract the TIME (EndTime - StartTime) and put it in
the Duration field...

refer of duration field

IXMLDOMNode lDurationOPNode =
thisXDocument.DOM.selectSingleNode("/my:***/my:***/@my:***");

lDurationOPNode.text = ....
 
S

Scott L. Heim [MSFT]

Hi,

I am sorry but I do not understand what you need. The BLOG entry I
suggested provides sample code as well as the code to subtract one date
from another. I realize this uses "days" but you could modify this for time.

Is there something else I am missing?

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top