In user's profile page, there's a
last seen xx mins ago info:
How can I get this information in user object or other object field?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.Sign up to join this community
The user's "Last seen" time is the
last_access_date property of the API's
user object. Get it via a call to the
Which currently shows your
In the API, dates are in unix epoch time, so
1528358274 corresponds to Thu, 07 Jun 2018 07:57:54 GMT.
For more information about converting dates/times, see How do I parse the dates from the API?.