Jump to content

Another Date Time Issue


Lee J

This topic is 8422 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Similiar to many other posts we to have Start Time/End Time

Start Date /End Date.

Our problem is as follows

Need to calculate the Date duration but have to make sure that the Time end hasn't gone over a day.

We run a shift system so some users Login 10:00pm and finish 6:00am following day.

need assistance on the best way to perform the calculation and return the following answers

Number of hours worked.

number of days worked (as the shift may take over the end run of the project

Link to comment
Share on other sites

  • 2 weeks later...

Just when you thought it was safe to go back.....

I now have another prob. My summary field gives the wrong answer

Summmary field totals the TimeTotal field which is a calulation number field.

If I have the values 60,5,5,5 the sum answer should be 1.25 instead I get 1.083333 recurring. even adjusting the Decimal place doesn't help

sum calc is Sum(TotalTime) / 60

What am I doing wrong?: frown.gif" border="0

Link to comment
Share on other sites

I have two DB's One for the Job Details and a Line items for all the Time entries against the job.

The Sum field totals up the TotalTime in the Line Items DB via a Job Number relation. Hopefully you can see a screen shot below

if I do the calculations manually I get the right answer, using the sum command It's wrong.

If the screenshot didn't work mailto:[email protected] and I will send you the sample.

Cheers

Link to comment
Share on other sites

This topic is 8422 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.