I have a list of TimeObjects
.
I want to subtract 5h from each element and if TimeObject < 5h
then give a negative hour.
My goal is to count the amount of time that I’ve worked last month.
To doing that I have a list of the amount time worked each day so that {{13/9,7:00}...}
I make with that a list of DateValue
to that I have to subtract 5h to each element to know only the extra time that i’ve worked.
How could I do this?
Edited.
times - TimeObject[{5, 0, 0}]
? That's what the documentation seems to imply.Count[..., _?Negative]
orCount[..., _?Positive]
etc. to count a particular type of result. $\endgroup$ – Michael E2 Jan 30 '16 at 13:15