time calculator | WordPress.org

[ad_1]

I need help to create a form that allows my users to calculate the hours passed between 2 times, where they select in “From” and “To” fields.. a date and hour, to get the number of hours between the 2 times.

Example:
From: 9am, 17-08-2023
To: 11am, 19-08-2023
Result: 50 hours

What formula should I use please?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer