What does a timespan within the events endpoint refer to?

 

The attribute object within when refers to timespan which is A span of time with a specific beginning and end time. Please find more details regarding all the objects and fields for an event here >> Event API references.
 

In the above example: 

  • The start_timezone and end_timezone are IANA-formatted strings.
  • The end_time and the start_time are in the UNIX timestamps. There are multiple ways to convert this to normal DateTime, for example in python this would look as below while converting to the UTC timezone.
import datetime
dt_utc = datetime.datetime.utcfromtimestamp(1650763800)
print(dt_utc)

 

Resources

Event API references.

 

https://www.unixtimestamp.com/ 

 

Updated

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.