Forum Discussion

Akenefick's avatar
Akenefick
Genius
4 years ago

What Are The Units Used For last_publish_time

This Get messages posted or edited in a specified range of time (khoros.com) says n days, but the example here messages (khoros.com) is using numbers like 1577836860000. I thought maybe it was millis...
  • Drew_C's avatar
    4 years ago

    Those look like Epoch timestamps in milliseconds.

    Try this converter to see if you can make sense of the numbers: https://www.epochconverter.com/

    Using the example in messages that you sent, that range (in GMT) is:

    1577836860000 -> Wednesday, January 1, 2020 12:01:00 AM
    1596240060000 -> Saturday, August 1, 2020 12:01:00 AM

    It doesn't seem likely that you'll be able to use this to specify a rolling X number of days, so your question still seems valid.