Search API

Comments

2 comments

  • Sepulveda, Helder (ED)

    How do we convert those integers back to dates?
    Like this one:
    "last_activity_time":1423058976000

    0
    Comment actions Permalink
  • Oren Raboy

    Hi Helder,
    the last activity time is in unix time in milisecond. To convert to a date you would need to use the relevant function in your programming language.

    for example, in java you could use:
    java.util.Date lastActivity =new java.util.Date(last_activity_time);

    keep in mind that the number is in miliseconds, so if the function expects a number in seconds, simply divide by 1000.

    0
    Comment actions Permalink

Article is closed for comments.