Epoch timestamps
-
Before proceeding any further, we need to pause and cover epoch timestamps.
-
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.
-
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
-
Enter the date and time you wish to convert into an epoch timestamp here. Make sure you change "GMT" to "Local time".
-
Click on "Human date to Timestamp" to generate your epoch timestamp. You will need the timestamp in milliseconds.