ROI API

Hey All,

I see from the API guide you can make a call to retrieve more specified ROI figures

The guide doesnt explain (Maybe im glossing over it) the format of the expected values

Here is the example from the guide

Example:
GET /executions/statistics?sortBy=avgExecutionTime&endedBefore=1415176455471
&endedAfter=0

What value is the ended before or ended after figure

The guide says the default for endedAfter is one week, so I tried 4 thinking this value may be the number of weeks but that gave me everything from the beginning of time.

How would I set this to a specific number of days i.e 30 days?