<Formatting sensor event timestamp into date and t...
# stackoverflow
u
Formatting sensor event timestamp into date and time I am collecting Watch sensor data in a JSON file and I need to put a time stamp in the data to know when it was collected but I am getting time in milliseconds. How can I convert the sensor timestamp into a readable form of date and time and then put it as a JSON object in a JSON file to store the data?