compare two timevalues


compare these two time values

P2DT16H38M54S


P2DT16H38M56S



if ($first>$second) do something

LVL 1
rgb192Asked:
Who is Participating?
 
NetExpert-WarszawaConnect With a Mentor Commented:
Parse the values using strptime function.
http://www.php.net/manual/en/function.strptime.php
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.