for the solution you have to put get time now into a variable. to get time and store value to tinydb,
and you will see the result of pressing button1, button 2 and button 3 on the label formated and unformated.
(see my block)
note:
(on your block)
when you press button 1, you get time now for formated and unformated labels.
then you press button 2 and you get time now to store value to tinydb, but there is a time difference between pressing button 1 and button 2, so you get time now on button 2 which is different from button 1.
you have to input get time now into the variable, as I explained.