B
B
BigSmoke2020-08-01 20:27:26
Working with date/time
BigSmoke, 2020-08-01 20:27:26

What is the time format in the Slack API?

When an event occurs, Slack sends json. Among other things, this json has an event_ts field of this format - 1596302319.003500 . The numbers before the dot are the unix timestamp.
Question - what are these numbers after the dot? At first I thought it was milliseconds, but then there should have been 4 digits after the dot. After all, there are 1000 milliseconds in 1 second.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2020-08-01
@BigSmoke

These are microseconds.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question