I am using a DS1307 breakout board in conjunction with BNO0555 in order to acquire Measurements from the BNO055 itself and provide timestamps of the data acquired to an Arduino Yun. I would actually like to send the data to a Raspberry Pi which runs InfluxDB which mostly prints timestamps in the RFC3339 format. I do not actually see any library implementation of converting a timestamp to RFC3339 compliant output anywhere.
Can someone provide a way how to overcome this problem?