Get systemdate from device


I have a button to take a picture. I also want to retrieve the date right after taking the picture and store it in a tinydb. What is the best way to retrieve the current date of my device?

This topic explains how to get the date.

A post was split to a new topic: An apple a day keeps