# Addition and subtraction of TimeObjects in v10 [closed]

Documentation states that "TimeObject allows addition and subtraction of time quantities".

I can see that subtraction is fine, (example from doc page) TimeObject[{16, 17, 21}] - TimeObject[{10, 12, 34}] . This evaluates to time Quantity but if I change minus to plus the expression remains unevaluated.

However, both subtraction and addition works if TimeObject is used with time Quantity (e.g. 13 hours) instead of another TimeObject.

Subtraction is specifically mentioned in the following line from the docs: "Subtracting two TimeObject constructs yields a time quantity".

How about addition? Am I missing something or is it an obvious bug?

-

## closed as off-topic by m_goldberg, Öskå, bobthechemist, ciao, Mr.Wizard♦Jul 13 '14 at 23:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – m_goldberg, Öskå, bobthechemist, ciao, Mr.Wizard
If this question can be reworded to fit the rules in the help center, please edit the question.

DateObject[] // FullForm gives DateObject[List[2014,7,13],TimeObject[List[12,19,4.867536]]]. That should explain the difference. –  m_goldberg Jul 13 '14 at 16:22
Further, a TimeObject represents an event, a point in time. Joe can't work for TimeObject[{8,0,0}]`. That doesn't represent 8 hours (a time quantity), but 8 AM. –  m_goldberg Jul 13 '14 at 16:26