jeudi 30 juin 2016

Php how to check if a Digital number is bigger than another

I got two digital numbers as a string:

The first one looks like this:

$num1 = "00:10:00"

and the second one like this:

$num2 = "00:02:02"

How can I check wether one of them is bigger.

Aucun commentaire:

Enregistrer un commentaire