Get Network Client - firstseen manipulations

Solved
damienleick
Getting noticed

Get Network Client - firstseen manipulations

Hi,

 

I would like to create a report with the API to have each week every client who have recently be new on a network

 

For that I use the Get Network Client API call.

 

It return some data with this line : 

"firstSeen": 1518365681,

 

How can i filter this data to have only client from the last 7 days for example ? (how the value is caluculated in the API)

 

thanks

1 Accepted Solution
Nash
Kind of a big deal

unixtimestamp.com is a really great website for all your epoch translating needs. I've used it to help validate my code before.

View solution in original post

2 Replies 2
CptnCrnch
Kind of a big deal
Kind of a big deal

It's Unix Time Stamp / seconds since Jan 1st 1970.

 

Current value -604800 would be 7 days ago.

Nash
Kind of a big deal

unixtimestamp.com is a really great website for all your epoch translating needs. I've used it to help validate my code before.

Get notified when there are additional replies to this discussion.