Make (Vaccination) reminder based on schedule

This is simple. Replace ListView with ListPicker :slight_smile:

and use the appropriate AfterPicking for ListPicker

Now you have both DatePicker and ListPicker instead of ListView :astonished:

You could benefit from reading some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | Imagnity for more tutorials

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

okay so those blocks you gave were for the actual immunization date...........and i justt want to make a WARNING when parents input the vaccination date after they went to hospital, they will know if they are late or not

its so FRUSTATING for me to explain that i just want to compare between vaccination date they input and DoB

could someone answer me? can i use this global initialize for this >/ ?
image

Did you try it? Did it work as expected?

no it didnt work. what should i do if i want to use the due date for vaccination date input warning?

Why not? Set up a little test project to try out your ideas before applying them to your app. Use companion and Do it to understand what is happening and to debug your projects

The operation AddMonths cannot accept the arguments:

You did not show the full set of blocks for this operation. How are we supposed to help ?

actually for >/ i want to input the due date (i think its in Label4). so if vaccination date (in datepicker) >/ label 4 >> "you are late"

As I previously suggested, test your blocks....

works just fine. You need to look at your variable values that you are applying, and understand why they are not what you expect them to be.

i dont understand your blocks

Sorry, adjusted to match your blocks :wink:

is the math less than blocks only works using clock???? i tried using label and others but failed

As I have said, you need to check that all your variables are correct:

image

you have a red cross against "item", and using "not found" (as a string) will not be helping either.

image

it still didnt work, what to add again?

Then do as I have previously asked, check the content of your variables in your equation. No-one knows what you have in Label4.txt , or what the output of the first part of the equation is?

you need to convert the date you placed in Label4.Text with its equivalent in GetMillis units.

It is not possible to mathematically compare a time in Millis with a formatted date.

I suspect your Label4 contains something like Apr 25, 2023 in the Label. The Math Block is asking for 1682398800000

We do not know. Perhaps you need to do what Tim requested or you share your Project aia
Then someone could provide some specific advice.

I have yet to see any use of the Blocks Editor Do It debugging facility in your blocks images.

You should be tracing the date math through your blocks, block by block, to see what is going on.

Your block image should look like a porcupine, with all the trace values.

yes its like label6 in your blocks/aia

Now you know one reason what you tried does not work. The date needs to be converted to a Clock instant for the Math block to work. Have you written code to do that?