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

Recommended Answers

All 2 Replies

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, learning, and sharing knowledge.