Skip to main content
Participant
Mar 9, 2022 6:49 PM UTC
Question

Calculate Time Between Clock in & Clock out

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 is closed to new replies. Start a new post to keep the conversation going.

6 replies

bebarth
Community Expert
Community Expert
Mar 10, 2022 9:37 PM UTC

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.

@+

Translate
Participant
Mar 10, 2022 9:43 PM UTC

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

Translate
bebarth
Community Expert
Community Expert
Mar 11, 2022 8:36 AM UTC

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...

@+

Translate