Hi I am facing problem for getting difference between hours and miuntes

I have two variables

$one=9:30 am;    $two=6:30 pm;



                 How to get difference in Hours and minutes

Excellent its working

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.