Visual Basic - UNA CONVERCION

Life is soft - evento anual de software empresarial
 
Vista:

UNA CONVERCION

Publicado por ELIZA (24 intervenciones) el 12/05/2005 16:25:04
COMO PODRIA CONVERTIR ESTO:
00:30 = 30 MINUTOS
01:00 = 60 MINUTOS
01:30 = 90 MINUTOS

CONVERTIR LA HORAS A MINUTOS
AYUDENME POR FAVOR
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:UNA CONVERCION

Publicado por jcz (94 intervenciones) el 12/05/2005 20:01:54
Utiliza la funcion Minute()

1.- pide la hora completa y guardala en txthora
2.- hora = timevalue(txthora.text)
3.- minuto = minute(hora)
4.- hora_a_minutos = hora * 60
5.- minutos_totales = minuto + hora_a_minutos
6.- crea una caja de texto llamada txtminutos
7.- txtminutos.text = minutos_totales

salu2...

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar