Epoch timestamps

  1. Before proceeding any further, we need to pause and cover epoch timestamps.

  2. An epoch timestamp is a way of measuring time in programming: it is the number of seconds that have elapsed since the start of the day on January 1st, 1970.

  3. Campbell Cloud data uses epoch timestamps. In order to successfully create API requests, everyday date and time needs to be converted into epoch timestamps.

    NOTE:

    An epoch timestamp converter can be accessed at https://www.epochconverter.com

  4. Enter the date and time you wish to convert into an epoch timestamp here. Make sure you change "GMT" to "Local time".

  5. Click on "Human date to Timestamp" to generate your epoch timestamp. You will need the timestamp in milliseconds.