Add date to list

Hi Me again!

Sorry to have to use the forum again but I've looked through all the online help and also googled for an answer but can't find one.

I have modified my previous app to now make and store a list of entries in TinyDB but I'd like each entry to have the date (and/or time) that entry was made.

Does anyone have a block example of how this could be achieved?

Regards

Rex

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

Use the clock component:

to generate and format a timestamp, then add it to your entry.

Here's the .aia.

TIMIA2 - Thanks for your instructions but I'm not competent enough with the appinventor to follow them.

Rex
WeeklyBudget121.aia (1.8 MB)

In the Designer Sensors Drawer, find the Clock component and drag it into your project.

Replace


with

These blocks are draggable.

1 Like

ABG

Thank you so much, just what I needed and so simple I now feel stupid LOL!

Good job I'm only doing this for personal use, not for sale otherwise I'd have to share so much of the royalties! :slight_smile:

Rex

1 Like