Hey everyone

I have two strings like this

hour1="14:30"
hour2="15:30"

I want to compare them like this:

if local_time between hour1 and hour2:
    print True
else
    print False

Can anyone tell me how to make that comparison to work??????? (I don't know 
how to take only the time in this format(Hour:Minutes))

Thanks in advanced

Alberto


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to