Hello. I have a timesheet report representing hours worked. Relevant field names are: StartTime, EndTime and TimeSpan (a calculated field - let Caspio sweat the routine calculations). I'm struggling with the syntax in the "Aggregate" function entry. My goal is an output which shows: HH:MM...
For example, if my time entries are:
StartTime EndTime TimeSpan
08:30 10:30 2:00
09:45 10:45 1:00
13:30 15:45 2:15 (sum = 4:15)
If I use: sum(datediff(minutes, StartTime, EndTime )) I get 255... (4 * 60 + 15)
But how in the world do I present the output as 4:15 and not 255. Yes, I've changed the 'Formatting' to Time (HH:MM), to no avail.
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.
Question
ronbrumbarger
Hello. I have a timesheet report representing hours worked. Relevant field names are: StartTime, EndTime and TimeSpan (a calculated field - let Caspio sweat the routine calculations). I'm struggling with the syntax in the "Aggregate" function entry. My goal is an output which shows: HH:MM...
For example, if my time entries are:
StartTime EndTime TimeSpan
08:30 10:30 2:00
09:45 10:45 1:00
13:30 15:45 2:15 (sum = 4:15)
If I use: sum(datediff(minutes, StartTime, EndTime )) I get 255... (4 * 60 + 15)
But how in the world do I present the output as 4:15 and not 255. Yes, I've changed the 'Formatting' to Time (HH:MM), to no avail.
Any help would be deeply appreciated!
Link to comment
Share on other sites
23 answers to this question
Recommended Posts
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.