Highlighted

How do I create a table to show calculation of hours worked in 24 hours format using PHP and JavaScript, Jquery?

New Here ,
May 09, 2019

Copy link to clipboard

Copied

Hi, hope I can find the help I need with a website programming project. I'm working on a new website and need to create a time table of hours worked in 24 hours format using PHP and JavaScript (Jquery). In short, the table should layout the days of the week and hours worked and be able to generate the total hours worked at the end of each day and week. EX:

Hours Worked

          03:20:00

          09:30:00

Total: 12:50:00

Any and all help is appreciated.

Thanks,

JB

Topics

Acrobat SDK and JavaScript, Windows

Views

460

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How do I create a table to show calculation of hours worked in 24 hours format using PHP and JavaScript, Jquery?

New Here ,
May 09, 2019

Copy link to clipboard

Copied

Hi, hope I can find the help I need with a website programming project. I'm working on a new website and need to create a time table of hours worked in 24 hours format using PHP and JavaScript (Jquery). In short, the table should layout the days of the week and hours worked and be able to generate the total hours worked at the end of each day and week. EX:

Hours Worked

          03:20:00

          09:30:00

Total: 12:50:00

Any and all help is appreciated.

Thanks,

JB

Topics

Acrobat SDK and JavaScript, Windows

Views

461

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
May 09, 2019

Copy link to clipboard

Copied

This forum is about JavaScripts in PDF files, not web-sites.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
May 09, 2019

Copy link to clipboard

Copied

Thanks for the response! I misunderstood the forum.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Advocate ,
May 09, 2019

Copy link to clipboard

Copied

As stated, this forum is about Acrobat JavaScript.

However, working with time durations is actually simple Core JavaScript work. Adding durations is simple and straightforward, as you have learned in elementary school:

1. Convert all durations to the smallest unit you want to work with (in this case, minutes)

2. Add up the minutes values

3. Convert the results back to Hours and Minutes.

… and that should do it…

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
May 09, 2019

Copy link to clipboard

Copied

My apologies as I misunderstood the forum! However, thanks so much for the response and the recommendation...much appreciated.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
One Stop Solution for Acrobat
Edit a PDF
Add a group