I'm working on a project that will get data from my ultrasonic sensor and I want the data to be sent to the firebase. I actually know how this will be done, and I'm getting my results from the sensor but I was wondering if I can also print the current date and time with the value that would be sent to the firebase?
So, I'm currently let's say getting these data:
Current Level: 10 Current Level: 12
I want it to do this:
Current Level: 10. 5:00. 12.2.2019 Current Level: 12. 5:30. 12.2.2019
This is just an example but I want it to grab the current date and time of the actual data transmission.