Bindlex Posted May 24, 2018 Posted May 24, 2018 Hello everybody, I have a variable $hour I have 2 combo where you can select the hour (for example in the first combo i select 16:00 and in the second 08:00) When I click a button I want to calculate the number of hours between the first and the second time. (only hours, not minutes) Thank you, Regards!
IAMK Posted May 24, 2018 Posted May 24, 2018 To add to what Bilgus said, the date is also important. Your answer can either be 10 hours or 14 hours.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now