How to get the automatic date on phone and save it in tinydb without always choosing date by date picker
Use the clock component to get current device Time As an Instant. Store it in a TinyDB. And to set it in a DatePicker connect it with Clock.SetDateToDisplayFromInstant
1 Like
Ok , let me check it out
Ok I will check it out
I would prefer to save the Date as Instant so you can change the Format as you need it.
2 Likes
It was simply an example
2 Likes
It works, Thankyou
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.