I've been banging my head against a wall for this and can't seem to figure out this error. VF seems to be reading my field as an object.
Here is my code
LineitemNumber: <apex:outputText value="{!(NOW()-object.LastModifiedDate)*24*60*60}"></apex:outputText>
Here is the error: "Error: Incorrect parameter type for operator '-'. Expected Number, Date, DateTime, received Object"
How is VF reading the field as an object?