function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AdrianaAdriana 

Very simple date functions.

Hi,
I'm trying to sum up certain fields containing dates, but I always get the syntax following syntax error: Error: Incorrect parameter for function +(). Expected Number, received Date
 
I know it must be something really simple, but I just can't seem to get it done!!
 
Any help would be greatly appreciated.
EricBEricB
Hi Adriana,
Can you be more specific about your scenario? 

The formula language lets you add or subtract a number of days to a date, but not add 2 dates.

Date + Number = valid
Date1 + Date2 = invalid

Regards,
Eric
AdrianaAdriana

Hi Eric,

Thanks so much for your response. It was really helpful.

Adriana.