Jump to content

Time Difference


Recommended Posts

Hi,

Need assistance to get the difference of 2 truck activities. 

I have a submission form DataPage which captures the truck activity that has been completed. This is being submitted by the driver and submission of each activity is time-stamped.

I created a tabular report that shows the activities of a specific truck. I would like to get the time difference of one activity to the next activity

Could you help me? 

printscreen-data.png

Link to comment
Share on other sites

8 hours ago, benjaminecm said:

Hi,

Need assistance to get the difference of 2 truck activities. 

I have a submission form DataPage which captures the truck activity that has been completed. This is being submitted by the driver and submission of each activity is time-stamped.

I created a tabular report that shows the activities of a specific truck. I would like to get the time difference of one activity to the next activity

Could you help me? 

printscreen-data.png

Hi, sure it's possible, you may use datediff function for this purpose. For example:

 Datediff(hour,[@field:timestamp1],[@field:timestamp2])

Paste your fields instead of [@field:timestamp1] and [@field:timestamp2]

You may read more here

hope it helps

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...