Selector de hora como cantidad de horas

Quisiera tener un selector de horas que sobre pase la cantidad de 23 por ejemplo 40 horas 26 minutos
image

image

esto para hacer un conteo de horas acumuladas
¿se podrá?
saludos

You can make your own time picker to do this.

¿como?
necesito que las horas sean mayor que 23

Like so...

I didn't format for hours less than 10 (e.g. 08), or control the negative hours

necesito que los minutos solo lleguen a 59

en este caso me voy hasta el 67
image

What about adding if statements?

If minutes > 59
Then minutes = 0

And

If minutes < 0
Then minutes = 59

Taifun

Yes, this will work, but some more conditions need to be added, as

and need to add +1 to hours as well.

and, here, too, need to -1 to hours.

It is not advisable one. User won't like to click the button to reach till 40+ and all.. else use slider value. It will be more convenient to use

una vez seleccionado la hora y minuto quisiera multiplicarlo con un numero
etiqueta HORAS X el campo de texto CANTIDAD
image
la pregunta es como lo represento esta etiqueta HORAS en formato de hora:minuto para luego multiplicarlo

saludos

image

what about multiplying the hours by 60 to get the hours in minutes, then adding the minutes to get the total in minutes and then multiplying with the amount?

Taifun

pero la hora lo tengo como texto 12:30
tendría que separarlo
no hay alguna otra forma de multiplicarlo como se ve 12:30
cabe señalar que el símbolo : impide la multiplicación

ok, so just do it... split at : to get a list of 2 items and use the select list item blocks to select the hour or the minute

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... 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 http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Tengo por ejemplo esto:
trato de sumar el circulo rojo o el azul
(de preferencia el Rojo que es un solo texto como 4:59)
en cambio el azul son dos textos el primero es 4 y el segundo 59
con el texto de S_Hora en este caso 09:36
luego sumar este resultado con el texto de S_Fecha

cuando presiono el botón sumar
el texto union debera contener la unión de estos
00:00:00 debería ser 14:35:00
y
00/00/00 debería ser 18/11/2022 (si no es que afecto las horas sumadas si pasaron las 24 horas ya esta fecha sumaria días mas)
image

por el momento tengo esto
image
alguna sugerencia
saludos