Skip to main content
Participant
March 9, 2022
Question

Calculate Time Between Clock in & Clock out

  • March 9, 2022
  • 1 reply
  • 1117 views

Hello, 

I am having so much trouble calculating the time between the "clocked in" and "clocked out" times. I need this total under the "total hours".

 

If someone could please help me figure out the first row under "recorded shift," then I can copy & paste the rest. 

 

This topic has been closed for replies.

1 reply

bebarth
Community Expert
Community Expert
March 10, 2022

Hi,
You certainly copied the scripts from an other file.

This file must include document level functions which are called in your script, so we need these functions.

Could you please share the file with document level functions.

@+

Participant
March 10, 2022

Hello! I'm not sure what you are asking for? I am very new to scripting. What do you need me to upload?

bebarth
Community Expert
Community Expert
March 11, 2022

If you are very new to scripting means you didn't write the scripts included in your document!

These scripts use 3 functions such as "AdjustMidnight()" for example.

These functions are often placed in document JavaScript level but are not included in your document.

They must certainly be included in the original document from where you copied/pasted the scripts.

So it should be great if you share this document. That would evoid to re-write all the scripts...

@+