CONVERTIR NUMEROS A HORAS Y MINUTOS O SUMAS Y RESTAS DE MINUTOS

omarcitol
01 de Abril del 2006
HOLA AMIGOS QUISIERA Q ME AYUDEN, QUISIERA LA AYUDA DE COMO CONVERTIR NUMEROS A MINUTOS, OSEA TENGO 3 CUADROS DE TEXTO EN EL PRIMERO PONER LA HORA Y MINUTO DE INICIO EN EL SEGUNDO PONER LA HORA Y MINUTO DE TERMINO Y EN LE TERCERO QUISIERA EL RESULTADO UNA RESTA PERO EN MINUTOS EJEMPLO 10:20 - 1150 = 90 MIN, GRACIAS.

maRcOSxD
01 de Abril del 2006
tt=(((hf*60)+mf)-((hi*60)+mi))
ht=int(tt/60)
mt=tt-(ht*60)
--------------------------------------------------------------------------
tt=tiempo total
hf=horafinal
mf=minutosfinales
hi=horainicial
mi=minutosiniciales
ht=horatotal
mt=minutostotales

no es dificil de entender